NetworkAclEntrySetProperty Struct
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 { aws_fms as fms } from 'aws-cdk-lib';
const networkAclEntrySetProperty: fms.CfnPolicy.NetworkAclEntrySetProperty = {
forceRemediateForFirstEntries: false,
forceRemediateForLastEntries: false,
// the properties below are optional
firstEntries: [{
egress: false,
protocol: 'protocol',
ruleAction: 'ruleAction',
// the properties below are optional
cidrBlock: 'cidrBlock',
icmpTypeCode: {
code: 123,
type: 123,
},
ipv6CidrBlock: 'ipv6CidrBlock',
portRange: {
from: 123,
to: 123,
},
}],
lastEntries: [{
egress: false,
protocol: 'protocol',
ruleAction: 'ruleAction',
// the properties below are optional
cidrBlock: 'cidrBlock',
icmpTypeCode: {
code: 123,
type: 123,
},
ipv6CidrBlock: 'ipv6CidrBlock',
portRange: {
from: 123,
to: 123,
},
}],
};
Properties
firstEntriesoptionalIResolvable | IResolvable | CfnPolicy.NetworkAclEntryProperty[]first_entriesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NetworkAclEntryProperty]]]firstEntriesoptionalIResolvableFirstEntriesoptionalIResolvableFirstEntriesoptionalinterface{}#notes
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.
forceRemediateForFirstEntriesboolean | IResolvableforce_remediate_for_first_entriestyping.Union[bool, IResolvable]forceRemediateForFirstEntriesBooleanForceRemediateForFirstEntriesboolForceRemediateForFirstEntriesinterface{}required#notes
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 .
forceRemediateForLastEntriesboolean | IResolvableforce_remediate_for_last_entriestyping.Union[bool, IResolvable]forceRemediateForLastEntriesBooleanForceRemediateForLastEntriesboolForceRemediateForLastEntriesinterface{}required#notes
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 .
lastEntriesoptionalIResolvable | IResolvable | CfnPolicy.NetworkAclEntryProperty[]last_entriesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NetworkAclEntryProperty]]]lastEntriesoptionalIResolvableLastEntriesoptionalIResolvableLastEntriesoptionalinterface{}#notes
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.