Update the attributes for an accelerator.
See https://paws-r.github.io/docs/globalaccelerator/update_accelerator_attributes.html for full documentation.
globalaccelerator_update_accelerator_attributes(
AcceleratorArn,
FlowLogsEnabled = NULL,
FlowLogsS3Bucket = NULL,
FlowLogsS3Prefix = NULL
)
[required] The Amazon Resource Name (ARN) of the accelerator that you want to update.
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 Global Accelerator Developer Guide.
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 Global Accelerator permission to write to
the bucket.
Update the prefix for the location in the Amazon S3 bucket for the flow
logs. Attribute is required if FlowLogsEnabled
is true
.
If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
s3-bucket_name//AWSLogs/aws_account_id