Show / Hide Table of Contents

Class CfnPolicyPropsMixin.NetworkAclCommonPolicyProperty

Defines a Firewall Manager network ACL policy.

Inheritance
object
CfnPolicyPropsMixin.NetworkAclCommonPolicyProperty
Implements
CfnPolicyPropsMixin.INetworkAclCommonPolicyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-networkaclcommonpolicy.html

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-networkaclcommonpolicy.html

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; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-networkaclcommonpolicy.html#cfn-fms-policy-networkaclcommonpolicy-networkaclentryset

Type union: either IResolvable or CfnPolicyPropsMixin.INetworkAclEntrySetProperty

Implements

CfnPolicyPropsMixin.INetworkAclCommonPolicyProperty
Back to top Generated by DocFX