NAME

Paws::DirectConnect::AllocatePublicVirtualInterface - Arguments for method AllocatePublicVirtualInterface on Paws::DirectConnect

DESCRIPTION

This class represents the parameters used for calling the method AllocatePublicVirtualInterface on the AWS Direct Connect service. Use the attributes of this class as arguments to method AllocatePublicVirtualInterface.

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

SYNOPSIS

my $directconnect = Paws->service('DirectConnect');
my $VirtualInterface = $directconnect->AllocatePublicVirtualInterface(
  ConnectionId                        => 'MyConnectionId',
  NewPublicVirtualInterfaceAllocation => {
    Asn                  => 1,
    VirtualInterfaceName => 'MyVirtualInterfaceName',
    Vlan                 => 1,
    AddressFamily   => 'ipv4',                # values: ipv4, ipv6; OPTIONAL
    AmazonAddress   => 'MyAmazonAddress',     # OPTIONAL
    AuthKey         => 'MyBGPAuthKey',        # OPTIONAL
    CustomerAddress => 'MyCustomerAddress',   # OPTIONAL
    RouteFilterPrefixes => [
      {
        Cidr => 'MyCIDR',                     # OPTIONAL
      },
      ...
    ],    # 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/AllocatePublicVirtualInterface

ATTRIBUTES

REQUIRED ConnectionId => Str

The ID of the connection on which the public virtual interface is provisioned.

REQUIRED NewPublicVirtualInterfaceAllocation => Paws::DirectConnect::NewPublicVirtualInterfaceAllocation

Information about the public virtual interface.

REQUIRED OwnerAccount => Str

The ID of the AWS account that owns the public virtual interface.

SEE ALSO

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