@Stability(value=Stable) public static final class NetworkAcl.Builder extends Object implements software.amazon.jsii.Builder<NetworkAcl>
NetworkAcl.| Modifier and Type | Method and Description |
|---|---|
NetworkAcl |
build() |
static NetworkAcl.Builder |
create(software.constructs.Construct scope,
String id) |
NetworkAcl.Builder |
networkAclName(String networkAclName)
The name of the NetworkAcl.
|
NetworkAcl.Builder |
subnetSelection(SubnetSelection subnetSelection)
Subnets in the given VPC to associate the ACL with.
|
NetworkAcl.Builder |
vpc(IVpc vpc)
The VPC in which to create the NetworkACL.
|
@Stability(value=Stable) public static NetworkAcl.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.NetworkAcl.Builder.@Stability(value=Stable) public NetworkAcl.Builder vpc(IVpc vpc)
vpc - The VPC in which to create the NetworkACL. This parameter is required.this@Stability(value=Stable) public NetworkAcl.Builder networkAclName(String networkAclName)
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.
networkAclName - The name of the NetworkAcl. This parameter is required.this@Stability(value=Stable) public NetworkAcl.Builder subnetSelection(SubnetSelection subnetSelection)
More subnets can always be added later by calling
associateWithSubnets().
Default: - No subnets associated
subnetSelection - Subnets in the given VPC to associate the ACL with. This parameter is required.this@Stability(value=Stable) public NetworkAcl build()
build in interface software.amazon.jsii.Builder<NetworkAcl>Copyright © 2022. All rights reserved.