NetworkAclProps¶
-
class
aws_cdk.aws_ec2.
NetworkAclProps
(*, vpc, network_acl_name=None, subnet_selection=None)¶ Bases:
object
(experimental) Properties to create NetworkAcl.
- Parameters
vpc (
IVpc
) – (experimental) The VPC in which to create the NetworkACL.network_acl_name (
Optional
[str
]) – (experimental) The name of the NetworkAcl. It is not recommended to use an explicit name. Default: If you don’t specify a networkAclName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.subnet_selection (
Optional
[SubnetSelection
]) – (experimental) Subnets in the given VPC to associate the ACL with. More subnets can always be added later by callingassociateWithSubnets()
. Default: - No subnets associated
- Stability
experimental
Attributes
-
network_acl_name
¶ (experimental) The name of the NetworkAcl.
It is not recommended to use an explicit name.
- Default
If you don’t specify a networkAclName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.
- Stability
experimental
- Return type
Optional
[str
]
-
subnet_selection
¶ (experimental) Subnets in the given VPC to associate the ACL with.
More subnets can always be added later by calling
associateWithSubnets()
.- Default
No subnets associated
- Stability
experimental
- Return type
Optional
[SubnetSelection
]