CmdID / aws / aws globalaccelerator
aws globalaccelerator update-accelerator
Update an accelerator to make changes, such as the following: Change the name of the accelerator. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To update an accelerator
The following update-accelerator example modifies an accelerator to change the accelerator name to ExampleAcceleratorNew. You must specify the US-West-2 (Oregon) Region to create or update accelerators.
aws globalaccelerator update-accelerator --accelerator-arn arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 --name ExampleAcceleratorNewIdentify--accelerator-arnThe Amazon Resource Name (ARN) of the accelerator to update.--nameThe name of the accelerator.Its output
{
"Accelerator": {
"AcceleratorArn": "arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"IpAddressType": "IPV4",
"Name": "ExampleAcceleratorNew",
"Enabled": true,
"Status": "IN_PROGRESS",
"IpSets": [
{
"IpAddresses": [
"192.0.2.250",
"198.51.100.52"
],
"IpFamily": "IPv4"
}
],
"DnsName":"a1234567890abcdef.awsglobalaccelerator.com",
"CreatedTime": 1232394847,
"LastModifiedTime": 1232395654
}
}For more information, see Accelerators in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
Options
--accelerator-arnThe Amazon Resource Name (ARN) of the accelerator to update.--enabledIndicates whether an accelerator is enabled.--ip-address-typeThe IP address type that an accelerator supports.--ip-addressesThe IP addresses for an accelerator.--nameThe name of the accelerator.