NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $globalaccelerator = Paws->service('GlobalAccelerator');
$globalaccelerator->AllowCustomRoutingTraffic(
  EndpointGroupArn          => 'MyGenericString',
  EndpointId                => 'MyGenericString',
  AllowAllTrafficToEndpoint => 1,                   # OPTIONAL
  DestinationAddresses      => [
    'MyIpAddress', ...                              # max: 45
  ],    # OPTIONAL
  DestinationPorts => [
    1, ...    # min: 1, max: 65535
  ],    # OPTIONAL
);

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/AllowCustomRoutingTraffic

ATTRIBUTES

AllowAllTrafficToEndpoint => Bool

Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint can receive traffic from a custom routing accelerator. The value is TRUE or FALSE.

When set to TRUE, all destinations in the custom routing VPC subnet can receive traffic. Note that you cannot specify destination IP addresses and ports when the value is set to TRUE.

When set to FALSE (or not specified), you must specify a list of destination IP addresses that are allowed to receive traffic. A list of ports is optional. If you don't specify a list of ports, the ports that can accept traffic is the same as the ports configured for the endpoint group.

The default value is FALSE.

DestinationAddresses => ArrayRef[Str|Undef]

A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to allow to receive traffic. The IP addresses must be a subset of the IP addresses that you specified for the endpoint group.

DestinationAddresses is required if AllowAllTrafficToEndpoint is FALSE or is not specified.

DestinationPorts => ArrayRef[Int]

A list of specific Amazon EC2 instance ports (destination ports) that you want to allow to receive traffic.

REQUIRED EndpointGroupArn => Str

The Amazon Resource Name (ARN) of the endpoint group.

REQUIRED EndpointId => Str

An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.

SEE ALSO

This class forms part of Paws, documenting arguments for method AllowCustomRoutingTraffic 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