CmdID / aws / aws globalaccelerator
aws globalaccelerator create-custom-routing-accelerator
Create a custom routing accelerator. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To create a custom routing accelerator
The following create-custom-routing-accelerator example creates a custom routing accelerator with the tags Name and Project.
aws globalaccelerator create-custom-routing-accelerator --name ExampleCustomRoutingAccelerator --tags Key="Name",Value="Example Name" Key="Project",Value="Example Project" --ip-addresses 192.0.2.250 198.51.100.52Identify--nameThe name of a custom routing accelerator.--tagsCreate tags for an accelerator.--ip-addressesOptionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.Its output
{
"Accelerator": {
"AcceleratorArn": "arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"IpAddressType": "IPV4",
"Name": "ExampleCustomRoutingAccelerator",
"Enabled": true,
"Status": "IN_PROGRESS",
"IpSets": [
{
"IpAddresses": [
"192.0.2.250",
"198.51.100.52"
],
"IpFamily": "IPv4"
}
],
"DnsName":"a1234567890abcdef.awsglobalaccelerator.com",
"CreatedTime": 1542394847.0,
"LastModifiedTime": 1542394847.0
}
}For more information, see Custom routing accelerators in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
Options
--enabledIndicates whether an accelerator is enabled.--idempotency-tokenA unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.--ip-address-typeThe IP address type that an accelerator supports.--ip-addressesOptionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.--nameThe name of a custom routing accelerator.--tagsCreate tags for an accelerator.