Paws::DirectConnect::AllocatePrivateVirtualInterface - Arguments for method AllocatePrivateVirtualInterface on Paws::DirectConnect
This class represents the parameters used for calling the method AllocatePrivateVirtualInterface on the AWS Direct Connect service. Use the attributes of this class as arguments to method AllocatePrivateVirtualInterface.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AllocatePrivateVirtualInterface.
my $directconnect = Paws->service('DirectConnect'); my $VirtualInterface = $directconnect->AllocatePrivateVirtualInterface( ConnectionId => 'MyConnectionId', NewPrivateVirtualInterfaceAllocation => { Asn => 1, VirtualInterfaceName => 'MyVirtualInterfaceName', Vlan => 1, AddressFamily => 'ipv4', # values: ipv4, ipv6; OPTIONAL AmazonAddress => 'MyAmazonAddress', # OPTIONAL AuthKey => 'MyBGPAuthKey', # OPTIONAL CustomerAddress => 'MyCustomerAddress', # OPTIONAL Mtu => 1, # OPTIONAL Tags => [ { Key => 'MyTagKey', # min: 1, max: 128 Value => 'MyTagValue', # max: 256; OPTIONAL }, ... ], # min: 1; OPTIONAL }, OwnerAccount => 'MyOwnerAccount', ); # Results: my $AddressFamily = $VirtualInterface->AddressFamily; my $AmazonAddress = $VirtualInterface->AmazonAddress; my $AmazonSideAsn = $VirtualInterface->AmazonSideAsn; my $Asn = $VirtualInterface->Asn; my $AuthKey = $VirtualInterface->AuthKey; my $AwsDeviceV2 = $VirtualInterface->AwsDeviceV2; my $BgpPeers = $VirtualInterface->BgpPeers; my $ConnectionId = $VirtualInterface->ConnectionId; my $CustomerAddress = $VirtualInterface->CustomerAddress; my $CustomerRouterConfig = $VirtualInterface->CustomerRouterConfig; my $DirectConnectGatewayId = $VirtualInterface->DirectConnectGatewayId; my $JumboFrameCapable = $VirtualInterface->JumboFrameCapable; my $Location = $VirtualInterface->Location; my $Mtu = $VirtualInterface->Mtu; my $OwnerAccount = $VirtualInterface->OwnerAccount; my $Region = $VirtualInterface->Region; my $RouteFilterPrefixes = $VirtualInterface->RouteFilterPrefixes; my $Tags = $VirtualInterface->Tags; my $VirtualGatewayId = $VirtualInterface->VirtualGatewayId; my $VirtualInterfaceId = $VirtualInterface->VirtualInterfaceId; my $VirtualInterfaceName = $VirtualInterface->VirtualInterfaceName; my $VirtualInterfaceState = $VirtualInterface->VirtualInterfaceState; my $VirtualInterfaceType = $VirtualInterface->VirtualInterfaceType; my $Vlan = $VirtualInterface->Vlan; # Returns a L<Paws::DirectConnect::VirtualInterface> 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/AllocatePrivateVirtualInterface
The ID of the connection on which the private virtual interface is provisioned.
Information about the private virtual interface.
The ID of the AWS account that owns the virtual private interface.
This class forms part of Paws, documenting arguments for method AllocatePrivateVirtualInterface in Paws::DirectConnect
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.