Interface NetworkAclEntryProps
- All Superinterfaces:
CommonNetworkAclEntryOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NetworkAclEntryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.482Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forNetworkAclEntryPropsstatic final classAn implementation forNetworkAclEntryProps -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkAclEntryProps.Builderbuilder()The network ACL this entry applies to.Methods inherited from interface software.amazon.awscdk.services.ec2.CommonNetworkAclEntryOptions
getCidr, getDirection, getNetworkAclEntryName, getRuleAction, getRuleNumber, getTrafficMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNetworkAcl
The network ACL this entry applies to. -
builder
- Returns:
- a
NetworkAclEntryProps.BuilderofNetworkAclEntryProps
-