NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $directconnect = Paws->service('DirectConnect');
my $AllocateTransitVirtualInterfaceResult =
  $directconnect->AllocateTransitVirtualInterface(
  ConnectionId                         => 'MyConnectionId',
  NewTransitVirtualInterfaceAllocation => {
    AddressFamily   => 'ipv4',                # values: ipv4, ipv6; OPTIONAL
    AmazonAddress   => 'MyAmazonAddress',     # OPTIONAL
    Asn             => 1,                     # 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
    VirtualInterfaceName => 'MyVirtualInterfaceName',    # OPTIONAL
    Vlan                 => 1,                           # OPTIONAL
  },
  OwnerAccount => 'MyOwnerAccount',

  );

# Results:
my $VirtualInterface =
  $AllocateTransitVirtualInterfaceResult->VirtualInterface;

# Returns a Paws::DirectConnect::AllocateTransitVirtualInterfaceResult 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/AllocateTransitVirtualInterface

ATTRIBUTES

REQUIRED ConnectionId => Str

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

REQUIRED NewTransitVirtualInterfaceAllocation => Paws::DirectConnect::NewTransitVirtualInterfaceAllocation

Information about the transit virtual interface.

REQUIRED OwnerAccount => Str

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

SEE ALSO

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