@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.488Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeINetworkAclEntry.Jsii$Default, INetworkAclEntry.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
NetworkAclEntry(software.constructs.Construct scope,
String id,
NetworkAclEntryProps props) |
protected |
NetworkAclEntry(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NetworkAclEntry(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
INetworkAcl |
getNetworkAcl()
The network ACL.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected NetworkAclEntry(software.amazon.jsii.JsiiObjectRef objRef)
protected NetworkAclEntry(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public NetworkAclEntry(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
NetworkAclEntryProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public INetworkAcl getNetworkAcl()
getNetworkAcl in interface INetworkAclEntryCopyright © 2022. All rights reserved.