CfnSubnetNetworkAclAssociationProps

class aws_cdk.aws_ec2.CfnSubnetNetworkAclAssociationProps(*, network_acl_id, subnet_id)

Bases: object

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

Parameters
  • network_acl_id (str) – AWS::EC2::SubnetNetworkAclAssociation.NetworkAclId.

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

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet-network-acl-assoc.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_ec2 as ec2

cfn_subnet_network_acl_association_props = ec2.CfnSubnetNetworkAclAssociationProps(
    network_acl_id="networkAclId",
    subnet_id="subnetId"
)

Attributes

network_acl_id

AWS::EC2::SubnetNetworkAclAssociation.NetworkAclId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet-network-acl-assoc.html#cfn-ec2-subnetnetworkaclassociation-networkaclid

Return type

str

subnet_id

AWS::EC2::SubnetNetworkAclAssociation.SubnetId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet-network-acl-assoc.html#cfn-ec2-subnetnetworkaclassociation-associationid

Return type

str