Interface NetworkAclEntryProps
- All Superinterfaces:
CommonNetworkAclEntryOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NetworkAclEntryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-07T10:36:05.907Z")
@Stability(Stable)
public interface NetworkAclEntryProps
extends software.amazon.jsii.JsiiSerializable, CommonNetworkAclEntryOptions
Properties to create NetworkAclEntry.
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; NetworkAclEntryProps networkAclEntryProps = NetworkAclEntryProps.builder() .cidr(aclCidr) .networkAcl(networkAcl) .ruleNumber(123) .traffic(aclTraffic) // the properties below are optional .direction(TrafficDirection.EGRESS) .networkAclEntryName("networkAclEntryName") .ruleAction(Action.ALLOW) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forNetworkAclEntryProps
static final class
An implementation forNetworkAclEntryProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkAclEntryProps.Builder
builder()
The network ACL this entry applies to.Methods inherited from interface software.amazon.awscdk.services.ec2.CommonNetworkAclEntryOptions
getCidr, getDirection, getNetworkAclEntryName, getRuleAction, getRuleNumber, getTraffic
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNetworkAcl
The network ACL this entry applies to. -
builder
- Returns:
- a
NetworkAclEntryProps.Builder
ofNetworkAclEntryProps
-