@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:29:03.655Z") public class NetworkAclEntry extends Resource implements INetworkAclEntry
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; AclCidr aclCidr; AclTraffic aclTraffic; NetworkAcl networkAcl; NetworkAclEntry networkAclEntry = NetworkAclEntry.Builder.create(this, "MyNetworkAclEntry") .cidr(aclCidr) .networkAcl(networkAcl) .ruleNumber(123) .traffic(aclTraffic) // the properties below are optional .direction(TrafficDirection.EGRESS) .networkAclEntryName("networkAclEntryName") .ruleAction(Action.ALLOW) .build();
Modifier and Type | Class and Description |
---|---|
static class |
NetworkAclEntry.Builder
A fluent builder for
NetworkAclEntry . |
INetworkAclEntry.Jsii$Default, INetworkAclEntry.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
NetworkAclEntry(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NetworkAclEntry(software.amazon.jsii.JsiiObjectRef objRef) |
|
NetworkAclEntry(software.constructs.Construct scope,
java.lang.String id,
NetworkAclEntryProps props) |
Modifier and Type | Method and Description |
---|---|
INetworkAcl |
getNetworkAcl()
The network ACL.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected NetworkAclEntry(software.amazon.jsii.JsiiObjectRef objRef)
protected NetworkAclEntry(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public NetworkAclEntry(software.constructs.Construct scope, java.lang.String id, NetworkAclEntryProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public INetworkAcl getNetworkAcl()
getNetworkAcl
in interface INetworkAclEntry