Show / Hide Table of Contents

Class CfnPolicy.PolicyOptionProperty

Contains the settings to configure a network ACL policy, a AWS Network Firewall firewall policy deployment model, or a third-party firewall policy.

Inheritance
object
CfnPolicy.PolicyOptionProperty
Implements
CfnPolicy.IPolicyOptionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.FMS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPolicy.PolicyOptionProperty : CfnPolicy.IPolicyOptionProperty
Syntax (vb)
Public Class CfnPolicy.PolicyOptionProperty Implements CfnPolicy.IPolicyOptionProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-policyoption.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.AWS.FMS;

             var policyOptionProperty = new PolicyOptionProperty {
                 NetworkAclCommonPolicy = new NetworkAclCommonPolicyProperty {
                     NetworkAclEntrySet = new NetworkAclEntrySetProperty {
                         ForceRemediateForFirstEntries = false,
                         ForceRemediateForLastEntries = false,

                         // the properties below are optional
                         FirstEntries = new [] { new NetworkAclEntryProperty {
                             Egress = false,
                             Protocol = "protocol",
                             RuleAction = "ruleAction",

                             // the properties below are optional
                             CidrBlock = "cidrBlock",
                             IcmpTypeCode = new IcmpTypeCodeProperty {
                                 Code = 123,
                                 Type = 123
                             },
                             Ipv6CidrBlock = "ipv6CidrBlock",
                             PortRange = new PortRangeProperty {
                                 From = 123,
                                 To = 123
                             }
                         } },
                         LastEntries = new [] { new NetworkAclEntryProperty {
                             Egress = false,
                             Protocol = "protocol",
                             RuleAction = "ruleAction",

                             // the properties below are optional
                             CidrBlock = "cidrBlock",
                             IcmpTypeCode = new IcmpTypeCodeProperty {
                                 Code = 123,
                                 Type = 123
                             },
                             Ipv6CidrBlock = "ipv6CidrBlock",
                             PortRange = new PortRangeProperty {
                                 From = 123,
                                 To = 123
                             }
                         } }
                     }
                 },
                 NetworkFirewallPolicy = new NetworkFirewallPolicyProperty {
                     FirewallDeploymentModel = "firewallDeploymentModel"
                 },
                 ThirdPartyFirewallPolicy = new ThirdPartyFirewallPolicyProperty {
                     FirewallDeploymentModel = "firewallDeploymentModel"
                 }
             };

Synopsis

Constructors

PolicyOptionProperty()

Contains the settings to configure a network ACL policy, a AWS Network Firewall firewall policy deployment model, or a third-party firewall policy.

Properties

NetworkAclCommonPolicy

Defines a Firewall Manager network ACL policy.

NetworkFirewallPolicy

Defines the deployment model to use for the firewall policy.

ThirdPartyFirewallPolicy

Defines the policy options for a third-party firewall policy.

Constructors

PolicyOptionProperty()

Contains the settings to configure a network ACL policy, a AWS Network Firewall firewall policy deployment model, or a third-party firewall policy.

public PolicyOptionProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-policyoption.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.AWS.FMS;

             var policyOptionProperty = new PolicyOptionProperty {
                 NetworkAclCommonPolicy = new NetworkAclCommonPolicyProperty {
                     NetworkAclEntrySet = new NetworkAclEntrySetProperty {
                         ForceRemediateForFirstEntries = false,
                         ForceRemediateForLastEntries = false,

                         // the properties below are optional
                         FirstEntries = new [] { new NetworkAclEntryProperty {
                             Egress = false,
                             Protocol = "protocol",
                             RuleAction = "ruleAction",

                             // the properties below are optional
                             CidrBlock = "cidrBlock",
                             IcmpTypeCode = new IcmpTypeCodeProperty {
                                 Code = 123,
                                 Type = 123
                             },
                             Ipv6CidrBlock = "ipv6CidrBlock",
                             PortRange = new PortRangeProperty {
                                 From = 123,
                                 To = 123
                             }
                         } },
                         LastEntries = new [] { new NetworkAclEntryProperty {
                             Egress = false,
                             Protocol = "protocol",
                             RuleAction = "ruleAction",

                             // the properties below are optional
                             CidrBlock = "cidrBlock",
                             IcmpTypeCode = new IcmpTypeCodeProperty {
                                 Code = 123,
                                 Type = 123
                             },
                             Ipv6CidrBlock = "ipv6CidrBlock",
                             PortRange = new PortRangeProperty {
                                 From = 123,
                                 To = 123
                             }
                         } }
                     }
                 },
                 NetworkFirewallPolicy = new NetworkFirewallPolicyProperty {
                     FirewallDeploymentModel = "firewallDeploymentModel"
                 },
                 ThirdPartyFirewallPolicy = new ThirdPartyFirewallPolicyProperty {
                     FirewallDeploymentModel = "firewallDeploymentModel"
                 }
             };

Properties

NetworkAclCommonPolicy

Defines a Firewall Manager network ACL policy.

public object? NetworkAclCommonPolicy { get; set; }
Property Value

object

Remarks

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

NetworkFirewallPolicy

Defines the deployment model to use for the firewall policy.

public object? NetworkFirewallPolicy { get; set; }
Property Value

object

Remarks

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

ThirdPartyFirewallPolicy

Defines the policy options for a third-party firewall policy.

public object? ThirdPartyFirewallPolicy { get; set; }
Property Value

object

Remarks

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

Implements

CfnPolicy.IPolicyOptionProperty
Back to top Generated by DocFX