Interface CfnPolicy.NetworkAclEntrySetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicy.NetworkAclEntrySetProperty.Jsii$Proxy
- Enclosing class:
CfnPolicy
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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPolicy.NetworkAclEntrySetProperty
static final class
An implementation forCfnPolicy.NetworkAclEntrySetProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The rules that you want to run first in the Firewall Manager managed network ACLs.Applies only when remediation is enabled for the policy as a whole.Applies only when remediation is enabled for the policy as a whole.default Object
The rules that you want to run last in the Firewall Manager managed network ACLs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getForceRemediateForFirstEntries
Applies only when remediation is enabled for the policy as a whole.Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries.
If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see Remediation for managed network ACLs in the AWS Firewall Manager Developer Guide .
- See Also:
-
getForceRemediateForLastEntries
Applies only when remediation is enabled for the policy as a whole.Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries.
If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see Remediation for managed network ACLs in the AWS Firewall Manager Developer Guide .
- See Also:
-
getFirstEntries
The rules that you want to run first in the Firewall Manager managed network ACLs.Provide these in the order in which you want them to run. Firewall Manager will assign the specific rule numbers for you, in the network ACLs that it creates.
You must specify at least one first entry or one last entry in any network ACL policy.
- See Also:
-
getLastEntries
The rules that you want to run last in the Firewall Manager managed network ACLs.Provide these in the order in which you want them to run. Firewall Manager will assign the specific rule numbers for you, in the network ACLs that it creates.
You must specify at least one first entry or one last entry in any network ACL policy.
- See Also:
-
builder
-