Class CfnPolicyPropsMixin.NetworkAclCommonPolicyProperty
Defines a Firewall Manager network ACL policy.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.FMS.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPolicyPropsMixin.NetworkAclCommonPolicyProperty : CfnPolicyPropsMixin.INetworkAclCommonPolicyProperty
Syntax (vb)
Public Class CfnPolicyPropsMixin.NetworkAclCommonPolicyProperty Implements CfnPolicyPropsMixin.INetworkAclCommonPolicyProperty
Remarks
This is used in the PolicyOption of a SecurityServicePolicyData for a Policy , when the SecurityServicePolicyData type is set to NETWORK_ACL_COMMON .
For information about network ACLs, see Control traffic to subnets using network ACLs in the Amazon Virtual Private Cloud User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.FMS.Mixins;
var networkAclCommonPolicyProperty = new NetworkAclCommonPolicyProperty {
NetworkAclEntrySet = new NetworkAclEntrySetProperty {
FirstEntries = new [] { new NetworkAclEntryProperty {
CidrBlock = "cidrBlock",
Egress = false,
IcmpTypeCode = new IcmpTypeCodeProperty {
Code = 123,
Type = 123
},
Ipv6CidrBlock = "ipv6CidrBlock",
PortRange = new PortRangeProperty {
From = 123,
To = 123
},
Protocol = "protocol",
RuleAction = "ruleAction"
} },
ForceRemediateForFirstEntries = false,
ForceRemediateForLastEntries = false,
LastEntries = new [] { new NetworkAclEntryProperty {
CidrBlock = "cidrBlock",
Egress = false,
IcmpTypeCode = new IcmpTypeCodeProperty {
Code = 123,
Type = 123
},
Ipv6CidrBlock = "ipv6CidrBlock",
PortRange = new PortRangeProperty {
From = 123,
To = 123
},
Protocol = "protocol",
RuleAction = "ruleAction"
} }
}
};
Synopsis
Constructors
| NetworkAclCommonPolicyProperty() | Defines a Firewall Manager network ACL policy. |
Properties
| NetworkAclEntrySet | The definition of the first and last rules for the network ACL policy. |
Constructors
NetworkAclCommonPolicyProperty()
Defines a Firewall Manager network ACL policy.
public NetworkAclCommonPolicyProperty()
Remarks
This is used in the PolicyOption of a SecurityServicePolicyData for a Policy , when the SecurityServicePolicyData type is set to NETWORK_ACL_COMMON .
For information about network ACLs, see Control traffic to subnets using network ACLs in the Amazon Virtual Private Cloud User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.FMS.Mixins;
var networkAclCommonPolicyProperty = new NetworkAclCommonPolicyProperty {
NetworkAclEntrySet = new NetworkAclEntrySetProperty {
FirstEntries = new [] { new NetworkAclEntryProperty {
CidrBlock = "cidrBlock",
Egress = false,
IcmpTypeCode = new IcmpTypeCodeProperty {
Code = 123,
Type = 123
},
Ipv6CidrBlock = "ipv6CidrBlock",
PortRange = new PortRangeProperty {
From = 123,
To = 123
},
Protocol = "protocol",
RuleAction = "ruleAction"
} },
ForceRemediateForFirstEntries = false,
ForceRemediateForLastEntries = false,
LastEntries = new [] { new NetworkAclEntryProperty {
CidrBlock = "cidrBlock",
Egress = false,
IcmpTypeCode = new IcmpTypeCodeProperty {
Code = 123,
Type = 123
},
Ipv6CidrBlock = "ipv6CidrBlock",
PortRange = new PortRangeProperty {
From = 123,
To = 123
},
Protocol = "protocol",
RuleAction = "ruleAction"
} }
}
};
Properties
NetworkAclEntrySet
The definition of the first and last rules for the network ACL policy.
public object? NetworkAclEntrySet { get; set; }