NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $globalaccelerator = Paws->service('GlobalAccelerator');
$globalaccelerator->DenyCustomRoutingTraffic(
  EndpointGroupArn         => 'MyGenericString',
  EndpointId               => 'MyGenericString',
  DenyAllTrafficToEndpoint => 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/DenyCustomRoutingTraffic

ATTRIBUTES

DenyAllTrafficToEndpoint => Bool

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

When set to TRUE, no 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 cannot 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 prevent from receiving traffic. The IP addresses must be a subset of the IP addresses allowed for the VPC subnet associated with the endpoint group.

DestinationPorts => ArrayRef[Int]

A list of specific Amazon EC2 instance ports (destination ports) in a subnet endpoint that you want to prevent from receiving 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 DenyCustomRoutingTraffic 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