NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $directconnect = Paws->service('DirectConnect');
my $VirtualInterface = $directconnect->CreatePrivateVirtualInterface(
  ConnectionId               => 'MyConnectionId',
  NewPrivateVirtualInterface => {
    Asn                  => 1,
    VirtualInterfaceName => 'MyVirtualInterfaceName',
    Vlan                 => 1,
    AddressFamily   => 'ipv4',                # values: ipv4, ipv6; OPTIONAL
    AmazonAddress   => 'MyAmazonAddress',     # OPTIONAL
    AuthKey         => 'MyBGPAuthKey',        # OPTIONAL
    CustomerAddress => 'MyCustomerAddress',   # OPTIONAL
    DirectConnectGatewayId => 'MyDirectConnectGatewayId',    # OPTIONAL
    Mtu                    => 1,                             # OPTIONAL
    Tags                   => [
      {
        Key   => 'MyTagKey',      # min: 1, max: 128
        Value => 'MyTagValue',    # max: 256; OPTIONAL
      },
      ...
    ],    # min: 1; OPTIONAL
    VirtualGatewayId => 'MyVirtualGatewayId',    # OPTIONAL
  },

);

# 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/CreatePrivateVirtualInterface

ATTRIBUTES

REQUIRED ConnectionId => Str

The ID of the connection.

REQUIRED NewPrivateVirtualInterface => Paws::DirectConnect::NewPrivateVirtualInterface

Information about the private virtual interface.

SEE ALSO

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