Interface CfnPolicy.NetworkAclEntrySetProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPolicy.NetworkAclEntrySetProperty.Jsii$Proxy
Enclosing class:
CfnPolicy

@Stability(Stable) public static interface CfnPolicy.NetworkAclEntrySetProperty extends software.amazon.jsii.JsiiSerializable
The configuration of the first and last rules for the network ACL policy, and the remediation settings for each.

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.fms.*;
 NetworkAclEntrySetProperty networkAclEntrySetProperty = NetworkAclEntrySetProperty.builder()
         .forceRemediateForFirstEntries(false)
         .forceRemediateForLastEntries(false)
         // the properties below are optional
         .firstEntries(List.of(NetworkAclEntryProperty.builder()
                 .egress(false)
                 .protocol("protocol")
                 .ruleAction("ruleAction")
                 // the properties below are optional
                 .cidrBlock("cidrBlock")
                 .icmpTypeCode(IcmpTypeCodeProperty.builder()
                         .code(123)
                         .type(123)
                         .build())
                 .ipv6CidrBlock("ipv6CidrBlock")
                 .portRange(PortRangeProperty.builder()
                         .from(123)
                         .to(123)
                         .build())
                 .build()))
         .lastEntries(List.of(NetworkAclEntryProperty.builder()
                 .egress(false)
                 .protocol("protocol")
                 .ruleAction("ruleAction")
                 // the properties below are optional
                 .cidrBlock("cidrBlock")
                 .icmpTypeCode(IcmpTypeCodeProperty.builder()
                         .code(123)
                         .type(123)
                         .build())
                 .ipv6CidrBlock("ipv6CidrBlock")
                 .portRange(PortRangeProperty.builder()
                         .from(123)
                         .to(123)
                         .build())
                 .build()))
         .build();
 

See Also: