CfnVpcLinkProps
- class aws_cdk.aws_apigatewayv2.CfnVpcLinkProps(*, name, subnet_ids, security_group_ids=None, tags=None)
Bases:
object
Properties for defining a
CfnVpcLink
.- Parameters:
name (
str
) – The name of the VPC link.subnet_ids (
Sequence
[str
]) – A list of subnet IDs to include in the VPC link.security_group_ids (
Optional
[Sequence
[str
]]) – A list of security group IDs for the VPC link.tags (
Optional
[Mapping
[str
,str
]]) – The collection of tags. Each tag element is associated with a given resource.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-vpclink.html
- ExampleMetadata:
fixture=_generated
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 cfn_vpc_link_props = apigatewayv2.CfnVpcLinkProps( name="name", subnet_ids=["subnetIds"], # the properties below are optional security_group_ids=["securityGroupIds"], tags={ "tags_key": "tags" } )
Attributes
- name
The name of the VPC link.
- security_group_ids
A list of security group IDs for the VPC link.
- subnet_ids
A list of subnet IDs to include in the VPC link.
- tags
The collection of tags.
Each tag element is associated with a given resource.