SubnetNetworkAclAssociationProps

class aws_cdk.aws_ec2.SubnetNetworkAclAssociationProps(*, network_acl, subnet, subnet_network_acl_association_name=None)

Bases: object

__init__(*, network_acl, subnet, subnet_network_acl_association_name=None)

Properties to create a SubnetNetworkAclAssociation.

Parameters
  • network_acl (INetworkAcl) – The Network ACL this association is defined for.

  • subnet (ISubnet) – ID of the Subnet.

  • subnet_network_acl_association_name (Optional[str]) – The name of the SubnetNetworkAclAssociation. It is not recommended to use an explicit name. Default: If you don’t specify a SubnetNetworkAclAssociationName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.

stability :stability: experimental

Attributes

network_acl

The Network ACL this association is defined for.

stability :stability: experimental attribute: :attribute:: true

Return type

INetworkAcl

subnet

ID of the Subnet.

stability :stability: experimental attribute: :attribute:: true

Return type

ISubnet

subnet_network_acl_association_name

The name of the SubnetNetworkAclAssociation.

It is not recommended to use an explicit name.

default :default:

If you don’t specify a SubnetNetworkAclAssociationName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.

stability :stability: experimental

Return type

Optional[str]