paws.networking (version 0.1.6)

globalaccelerator_update_accelerator_attributes: Update the attributes for an accelerator

Description

Update the attributes for an accelerator. To see an AWS CLI example of updating an accelerator to enable flow logs, scroll down to Example.

Usage

globalaccelerator_update_accelerator_attributes(AcceleratorArn,
  FlowLogsEnabled, FlowLogsS3Bucket, FlowLogsS3Prefix)

Arguments

AcceleratorArn

[required] The Amazon Resource Name (ARN) of the accelerator that you want to update.

FlowLogsEnabled

Update whether flow logs are enabled. The default value is false. If the value is true, FlowLogsS3Bucket and FlowLogsS3Prefix must be specified.

For more information, see Flow Logs in the AWS Global Accelerator Developer Guide.

FlowLogsS3Bucket

The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. The bucket must exist and have a bucket policy that grants AWS Global Accelerator permission to write to the bucket.

FlowLogsS3Prefix

Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. If you don't specify a prefix, the flow logs are stored in the root of the bucket.

Request syntax

svc$update_accelerator_attributes(
  AcceleratorArn = "string",
  FlowLogsEnabled = TRUE|FALSE,
  FlowLogsS3Bucket = "string",
  FlowLogsS3Prefix = "string"
)