Update the attributes for a custom routing accelerator¶
Description¶
Update the attributes for a custom routing accelerator.
Usage¶
globalaccelerator_update_custom_routing_accelerator_attributes(
AcceleratorArn, FlowLogsEnabled, FlowLogsS3Bucket, FlowLogsS3Prefix)
Arguments¶
-
AcceleratorArn[required] The Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.
-
FlowLogsEnabledUpdate whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3BucketandFlowLogsS3Prefixmust be specified.For more information, see Flow logs in the Global Accelerator Developer Guide.
-
FlowLogsS3BucketThe name of the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket. -
FlowLogsS3PrefixUpdate the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue.If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
Value¶
A list with the following syntax:
list(
AcceleratorAttributes = list(
FlowLogsEnabled = TRUE|FALSE,
FlowLogsS3Bucket = "string",
FlowLogsS3Prefix = "string"
)
)