CfnNatGatewayProps

class aws_cdk.aws_ec2.CfnNatGatewayProps(*, allocation_id, subnet_id, tags=None)

Bases: object

__init__(*, allocation_id, subnet_id, tags=None)

Properties for defining a AWS::EC2::NatGateway.

Parameters
  • allocation_id (str) – AWS::EC2::NatGateway.AllocationId.

  • subnet_id (str) – AWS::EC2::NatGateway.SubnetId.

  • tags (Optional[List[CfnTag]]) – AWS::EC2::NatGateway.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html

Attributes

allocation_id

AWS::EC2::NatGateway.AllocationId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-allocationid

Return type

str

subnet_id

AWS::EC2::NatGateway.SubnetId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-subnetid

Return type

str

tags

AWS::EC2::NatGateway.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-tags

Return type

Optional[List[CfnTag]]