CmdID / aws / aws globalaccelerator
aws globalaccelerator update-custom-routing-accelerator-attributes
Update the attributes for a custom routing accelerator. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To update a custom routing accelerator's attributes
The following update-custom-routing-accelerator-attributes example updates a custom routing accelerator to enable flow logs.
aws globalaccelerator update-custom-routing-accelerator-attributes --accelerator-arn arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 --flow-logs-enabled --flow-logs-s3-bucket flowlogs-abc --flow-logs-s3-prefix bucketprefix-abcIdentify--accelerator-arnThe Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.--flow-logs-enabledUpdate whether flow logs are enabled.--flow-logs-s3-bucketThe name of the Amazon S3 bucket for the flow logs.--flow-logs-s3-prefixUpdate the prefix for the location in the Amazon S3 bucket for the flow logs.Its output
{
"AcceleratorAttributes": {
"FlowLogsEnabled": true,
"FlowLogsS3Bucket": "flowlogs-abc",
"FlowLogsS3Prefix": "bucketprefix-abc"
}
}For more information, see Custom routing accelerators in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
Options
--accelerator-arnThe Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.--flow-logs-enabledUpdate whether flow logs are enabled.--flow-logs-s3-bucketThe name of the Amazon S3 bucket for the flow logs.--flow-logs-s3-prefixUpdate the prefix for the location in the Amazon S3 bucket for the flow logs.