@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.107Z") @Stability(value=Experimental) public class NetworkAcl extends Resource implements INetworkAcl
By default, will deny all inbound and outbound traffic unless entries are added explicitly allowing it.
| Modifier and Type | Class and Description |
|---|---|
static class |
NetworkAcl.Builder
(experimental) A fluent builder for
NetworkAcl. |
software.amazon.jsii.JsiiObject.InitializationModeINetworkAcl.Jsii$Default, INetworkAcl.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
NetworkAcl(software.constructs.Construct scope,
String id,
NetworkAclProps props) |
protected |
NetworkAcl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NetworkAcl(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
NetworkAclEntry |
addEntry(String id,
CommonNetworkAclEntryOptions options)
(experimental) Add a new entry to the ACL.
|
void |
associateWithSubnet(String id,
SubnetSelection selection)
(experimental) Associate the ACL with a given set of subnets.
|
static INetworkAcl |
fromNetworkAclId(software.constructs.Construct scope,
String id,
String networkAclId)
(experimental) Import an existing NetworkAcl into this app.
|
String |
getNetworkAclId()
(experimental) The ID of the NetworkACL.
|
String |
getNetworkAclVpcId()
(experimental) The VPC ID for this NetworkACL.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected NetworkAcl(software.amazon.jsii.JsiiObjectRef objRef)
protected NetworkAcl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public NetworkAcl(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
NetworkAclProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static INetworkAcl fromNetworkAclId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String networkAclId)
scope - This parameter is required.id - This parameter is required.networkAclId - This parameter is required.@Stability(value=Experimental) @NotNull public NetworkAclEntry addEntry(@NotNull String id, @NotNull CommonNetworkAclEntryOptions options)
addEntry in interface INetworkAclid - This parameter is required.options - This parameter is required.@Stability(value=Experimental)
public void associateWithSubnet(@NotNull
String id,
@NotNull
SubnetSelection selection)
id - This parameter is required.selection - This parameter is required.@Stability(value=Experimental) @NotNull public String getNetworkAclId()
getNetworkAclId in interface INetworkAcl@Stability(value=Experimental) @NotNull public String getNetworkAclVpcId()
Copyright © 2021. All rights reserved.