1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. apigatewayv2
  5. VpcLink

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.apigatewayv2.VpcLink

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    The AWS::ApiGatewayV2::VpcLink resource creates a VPC link. Supported only for HTTP APIs. The VPC link status must transition from PENDING to AVAILABLE to successfully create a VPC link, which can take up to 10 minutes. To learn more, see Working with VPC Links for HTTP APIs in the API Gateway Developer Guide.

    Create VpcLink Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpcLink(name: string, args: VpcLinkArgs, opts?: CustomResourceOptions);
    @overload
    def VpcLink(resource_name: str,
                args: VpcLinkArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcLink(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                subnet_ids: Optional[Sequence[str]] = None,
                name: Optional[str] = None,
                security_group_ids: Optional[Sequence[str]] = None,
                tags: Optional[Mapping[str, str]] = None)
    func NewVpcLink(ctx *Context, name string, args VpcLinkArgs, opts ...ResourceOption) (*VpcLink, error)
    public VpcLink(string name, VpcLinkArgs args, CustomResourceOptions? opts = null)
    public VpcLink(String name, VpcLinkArgs args)
    public VpcLink(String name, VpcLinkArgs args, CustomResourceOptions options)
    
    type: aws-native:apigatewayv2:VpcLink
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VpcLinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VpcLinkArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VpcLinkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcLinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcLinkArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    VpcLink Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The VpcLink resource accepts the following input properties:

    SubnetIds List<string>
    A list of subnet IDs to include in the VPC link.
    Name string
    The name of the VPC link.
    SecurityGroupIds List<string>
    A list of security group IDs for the VPC link.
    Tags Dictionary<string, string>
    The collection of tags. Each tag element is associated with a given resource.
    SubnetIds []string
    A list of subnet IDs to include in the VPC link.
    Name string
    The name of the VPC link.
    SecurityGroupIds []string
    A list of security group IDs for the VPC link.
    Tags map[string]string
    The collection of tags. Each tag element is associated with a given resource.
    subnetIds List<String>
    A list of subnet IDs to include in the VPC link.
    name String
    The name of the VPC link.
    securityGroupIds List<String>
    A list of security group IDs for the VPC link.
    tags Map<String,String>
    The collection of tags. Each tag element is associated with a given resource.
    subnetIds string[]
    A list of subnet IDs to include in the VPC link.
    name string
    The name of the VPC link.
    securityGroupIds string[]
    A list of security group IDs for the VPC link.
    tags {[key: string]: string}
    The collection of tags. Each tag element is associated with a given resource.
    subnet_ids Sequence[str]
    A list of subnet IDs to include in the VPC link.
    name str
    The name of the VPC link.
    security_group_ids Sequence[str]
    A list of security group IDs for the VPC link.
    tags Mapping[str, str]
    The collection of tags. Each tag element is associated with a given resource.
    subnetIds List<String>
    A list of subnet IDs to include in the VPC link.
    name String
    The name of the VPC link.
    securityGroupIds List<String>
    A list of security group IDs for the VPC link.
    tags Map<String>
    The collection of tags. Each tag element is associated with a given resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VpcLink resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    VpcLinkId string
    The VPC link ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    VpcLinkId string
    The VPC link ID.
    id String
    The provider-assigned unique ID for this managed resource.
    vpcLinkId String
    The VPC link ID.
    id string
    The provider-assigned unique ID for this managed resource.
    vpcLinkId string
    The VPC link ID.
    id str
    The provider-assigned unique ID for this managed resource.
    vpc_link_id str
    The VPC link ID.
    id String
    The provider-assigned unique ID for this managed resource.
    vpcLinkId String
    The VPC link ID.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi