The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ApiGatewayV2::CreateVpcLink - Arguments for method CreateVpcLink on Paws::ApiGatewayV2

DESCRIPTION

This class represents the parameters used for calling the method CreateVpcLink on the AmazonApiGatewayV2 service. Use the attributes of this class as arguments to method CreateVpcLink.

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

SYNOPSIS

    my $apigateway = Paws->service('ApiGatewayV2');
    my $CreateVpcLinkResponse = $apigateway->CreateVpcLink(
      Name             => 'MyStringWithLengthBetween1And128',
      SubnetIds        => [ 'My__string', ... ],
      SecurityGroupIds => [ 'My__string', ... ],    # OPTIONAL
      Tags => { 'My__string' => 'MyStringWithLengthBetween1And1600', }
      ,                                             # OPTIONAL
    );

    # Results:
    my $CreatedDate          = $CreateVpcLinkResponse->CreatedDate;
    my $Name                 = $CreateVpcLinkResponse->Name;
    my $SecurityGroupIds     = $CreateVpcLinkResponse->SecurityGroupIds;
    my $SubnetIds            = $CreateVpcLinkResponse->SubnetIds;
    my $Tags                 = $CreateVpcLinkResponse->Tags;
    my $VpcLinkId            = $CreateVpcLinkResponse->VpcLinkId;
    my $VpcLinkStatus        = $CreateVpcLinkResponse->VpcLinkStatus;
    my $VpcLinkStatusMessage = $CreateVpcLinkResponse->VpcLinkStatusMessage;
    my $VpcLinkVersion       = $CreateVpcLinkResponse->VpcLinkVersion;

    # Returns a L<Paws::ApiGatewayV2::CreateVpcLinkResponse> 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/apigateway/CreateVpcLink

ATTRIBUTES

REQUIRED Name => Str

The name of the VPC link.

SecurityGroupIds => ArrayRef[Str|Undef]

A list of security group IDs for the VPC link.

REQUIRED SubnetIds => ArrayRef[Str|Undef]

A list of subnet IDs to include in the VPC link.

Tags => Paws::ApiGatewayV2::Tags

A list of tags.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateVpcLink in Paws::ApiGatewayV2

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