CfnSubnetNetworkAclAssociationProps

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

Bases: object

Properties for defining a CfnSubnetNetworkAclAssociation.

Parameters:
  • network_acl_id (str) – The ID of the network ACL.

  • subnet_id (str) – The ID of the subnet.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

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

Attributes

network_acl_id

The ID of the network ACL.

See:

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

subnet_id

The ID of the subnet.

See:

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