NAME
Paws::DirectConnect::CreateDirectConnectGatewayAssociation - Arguments for method CreateDirectConnectGatewayAssociation on Paws::DirectConnect
DESCRIPTION
This class represents the parameters used for calling the method CreateDirectConnectGatewayAssociation on the AWS Direct Connect service. Use the attributes of this class as arguments to method CreateDirectConnectGatewayAssociation.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDirectConnectGatewayAssociation.
SYNOPSIS
my $directconnect = Paws->service('DirectConnect');
my $CreateDirectConnectGatewayAssociationResult =
$directconnect->CreateDirectConnectGatewayAssociation(
DirectConnectGatewayId => 'MyDirectConnectGatewayId',
AddAllowedPrefixesToDirectConnectGateway => [
{
Cidr => 'MyCIDR', # OPTIONAL
},
...
], # OPTIONAL
GatewayId => 'MyGatewayIdToAssociate', # OPTIONAL
VirtualGatewayId => 'MyVirtualGatewayId', # OPTIONAL
);
# Results:
my $DirectConnectGatewayAssociation =
$CreateDirectConnectGatewayAssociationResult
->DirectConnectGatewayAssociation;
# Returns a Paws::DirectConnect::CreateDirectConnectGatewayAssociationResult 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/directconnect/CreateDirectConnectGatewayAssociation
ATTRIBUTES
AddAllowedPrefixesToDirectConnectGateway => ArrayRef[Paws::DirectConnect::RouteFilterPrefix]
The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes (https://docs.aws.amazon.com/directconnect/latest/UserGuide/multi-account-associate-vgw.html#allowed-prefixes) in the AWS Direct Connect User Guide.
REQUIRED DirectConnectGatewayId => Str
The ID of the Direct Connect gateway.
GatewayId => Str
The ID of the virtual private gateway or transit gateway.
VirtualGatewayId => Str
The ID of the virtual private gateway.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateDirectConnectGatewayAssociation in Paws::DirectConnect
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