CfnVpcLinkProps

class aws_cdk.aws_apigatewayv2.CfnVpcLinkProps(*, name, security_group_ids=None, subnet_ids, tags=None)

Bases: object

Properties for defining a AWS::ApiGatewayV2::VpcLink.

Parameters
  • name (str) – AWS::ApiGatewayV2::VpcLink.Name.

  • security_group_ids (Optional[Sequence[str]]) – AWS::ApiGatewayV2::VpcLink.SecurityGroupIds.

  • subnet_ids (Sequence[str]) – AWS::ApiGatewayV2::VpcLink.SubnetIds.

  • tags (Optional[Any]) – AWS::ApiGatewayV2::VpcLink.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-vpclink.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apigatewayv2 as apigatewayv2

# tags is of type object

cfn_vpc_link_props = apigatewayv2.CfnVpcLinkProps(
    name="name",
    subnet_ids=["subnetIds"],

    # the properties below are optional
    security_group_ids=["securityGroupIds"],
    tags=tags
)

Attributes

name

AWS::ApiGatewayV2::VpcLink.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-vpclink.html#cfn-apigatewayv2-vpclink-name

Return type

str

security_group_ids

AWS::ApiGatewayV2::VpcLink.SecurityGroupIds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-vpclink.html#cfn-apigatewayv2-vpclink-securitygroupids

Return type

Optional[List[str]]

subnet_ids

AWS::ApiGatewayV2::VpcLink.SubnetIds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-vpclink.html#cfn-apigatewayv2-vpclink-subnetids

Return type

List[str]

tags

AWS::ApiGatewayV2::VpcLink.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-vpclink.html#cfn-apigatewayv2-vpclink-tags

Return type

Any