CmdID

CmdID / aws / aws globalaccelerator

aws globalaccelerator update-accelerator-attributes

Update the attributes for an accelerator. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To update an accelerator's attributes

The following update-accelerator-attributes example updates an accelerator to enable flow logs. You must specify the US-West-2 (Oregon) Region to create or update accelerator attributes.

aws globalaccelerator update-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 accelerator that you want to update.
--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 Accelerators in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.

Options

4 in the AWS CLI reference
--accelerator-arnThe Amazon Resource Name (ARN) of the accelerator that you want to update.
--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.