CfnVpcLinkProps

class aws_cdk.aws_apigateway.CfnVpcLinkProps(*, description=None, name, tags=None, target_arns)

Bases: object

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

Parameters
  • description (Optional[str]) – AWS::ApiGateway::VpcLink.Description.

  • name (str) – AWS::ApiGateway::VpcLink.Name.

  • tags (Optional[Sequence[CfnTag]]) – AWS::ApiGateway::VpcLink.Tags.

  • target_arns (Sequence[str]) – AWS::ApiGateway::VpcLink.TargetArns.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-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_apigateway as apigateway

cfn_vpc_link_props = apigateway.CfnVpcLinkProps(
    name="name",
    target_arns=["targetArns"],

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

AWS::ApiGateway::VpcLink.Description.

Link

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

Return type

Optional[str]

name

AWS::ApiGateway::VpcLink.Name.

Link

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

Return type

str

tags

AWS::ApiGateway::VpcLink.Tags.

Link

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

Return type

Optional[List[CfnTag]]

target_arns

AWS::ApiGateway::VpcLink.TargetArns.

Link

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

Return type

List[str]