The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::GlobalAccelerator::CreateAccelerator - Arguments for method CreateAccelerator on Paws::GlobalAccelerator

DESCRIPTION

This class represents the parameters used for calling the method CreateAccelerator on the AWS Global Accelerator service. Use the attributes of this class as arguments to method CreateAccelerator.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAccelerator.

SYNOPSIS

    my $globalaccelerator = Paws->service('GlobalAccelerator');
    my $CreateAcceleratorResponse = $globalaccelerator->CreateAccelerator(
      IdempotencyToken => 'MyIdempotencyToken',
      Name             => 'MyGenericString',
      Enabled          => 1,                      # OPTIONAL
      IpAddressType    => 'IPV4',                 # OPTIONAL
      IpAddresses      => [
        'MyIpAddress', ...                        # max: 45
      ],    # OPTIONAL
      Tags => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256

        },
        ...
      ],    # OPTIONAL
    );

    # Results:
    my $Accelerator = $CreateAcceleratorResponse->Accelerator;

    # Returns a L<Paws::GlobalAccelerator::CreateAcceleratorResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator/CreateAccelerator

ATTRIBUTES

Enabled => Bool

Indicates whether an accelerator is enabled. The value is true or false. The default value is true.

If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.

REQUIRED IdempotencyToken => Str

A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of an accelerator.

IpAddresses => ArrayRef[Str|Undef]

Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose IP addresses from your own pool to use for the accelerator's static IP addresses when you create an accelerator. You can specify one or two addresses, separated by a space. Do not include the /32 suffix.

Only one IP address from each of your IP address ranges can be used for each accelerator. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool.

Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new accelerator with the new addresses.

For more information, see Bring Your Own IP Addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) in the AWS Global Accelerator Developer Guide.

IpAddressType => Str

The value for the address type must be IPv4.

Valid values are: "IPV4"

REQUIRED Name => Str

The name of an accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.

Tags => ArrayRef[Paws::GlobalAccelerator::Tag]

Create tags for an accelerator.

For more information, see Tagging in AWS Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) in the AWS Global Accelerator Developer Guide.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateAccelerator in Paws::GlobalAccelerator

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues