CmdID

CmdID / aws / aws globalaccelerator

aws globalaccelerator create-accelerator

Create an accelerator. AWS CLI reference

1 example 6 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 create an accelerator

The following create-accelerator example creates an accelerator with two tags with two BYOIP static IP addresses. You must specify the US-West-2 (Oregon) Region to create or update an accelerator.

aws globalaccelerator create-accelerator --name ExampleAccelerator --tags Key="Name",Value="Example Name" Key="Project",Value="Example Project" --ip-addresses 192.0.2.250 198.51.100.52Identify
--nameThe name of the 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": "ExampleAccelerator",
        "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 Accelerators in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.

Options

6 in the AWS CLI reference
--enabledIndicates whether an accelerator is enabled.
--idempotency-tokenA unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of an accelerator.
--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 the accelerator.
--tagsCreate tags for an accelerator.