Interface CfnPolicyPropsMixin.NetworkAclEntrySetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyPropsMixin.NetworkAclEntrySetProperty.Jsii$Proxy
- Enclosing class:
CfnPolicyPropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.fms.*;
NetworkAclEntrySetProperty networkAclEntrySetProperty = NetworkAclEntrySetProperty.builder()
.firstEntries(List.of(NetworkAclEntryProperty.builder()
.cidrBlock("cidrBlock")
.egress(false)
.icmpTypeCode(IcmpTypeCodeProperty.builder()
.code(123)
.type(123)
.build())
.ipv6CidrBlock("ipv6CidrBlock")
.portRange(PortRangeProperty.builder()
.from(123)
.to(123)
.build())
.protocol("protocol")
.ruleAction("ruleAction")
.build()))
.forceRemediateForFirstEntries(false)
.forceRemediateForLastEntries(false)
.lastEntries(List.of(NetworkAclEntryProperty.builder()
.cidrBlock("cidrBlock")
.egress(false)
.icmpTypeCode(IcmpTypeCodeProperty.builder()
.code(123)
.type(123)
.build())
.ipv6CidrBlock("ipv6CidrBlock")
.portRange(PortRangeProperty.builder()
.from(123)
.to(123)
.build())
.protocol("protocol")
.ruleAction("ruleAction")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPolicyPropsMixin.NetworkAclEntrySetPropertystatic final classAn implementation forCfnPolicyPropsMixin.NetworkAclEntrySetProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe rules that you want to run first in the Firewall Manager managed network ACLs.default ObjectApplies only when remediation is enabled for the policy as a whole.default ObjectApplies only when remediation is enabled for the policy as a whole.default ObjectThe 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
-
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPolicyPropsMixin.NetworkAclEntryProperty>- See Also:
-
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 .
Returns union: either
BooleanorIResolvable- 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 .
Returns union: either
BooleanorIResolvable- 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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPolicyPropsMixin.NetworkAclEntryProperty>- See Also:
-
builder
-