Show / Hide Table of Contents

Class CfnFirewallProps

Properties for defining a CfnFirewall.

Inheritance
System.Object
CfnFirewallProps
Implements
ICfnFirewallProps
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.AWS.NetworkFirewall.dll
Syntax (csharp)
public class CfnFirewallProps : Object, ICfnFirewallProps
Syntax (vb)
Public Class CfnFirewallProps
    Inherits Object
    Implements ICfnFirewallProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.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.NetworkFirewall;

var cfnFirewallProps = new CfnFirewallProps {
    FirewallName = "firewallName",
    FirewallPolicyArn = "firewallPolicyArn",
    SubnetMappings = new [] { new SubnetMappingProperty {
        SubnetId = "subnetId",

        // the properties below are optional
        IpAddressType = "ipAddressType"
    } },
    VpcId = "vpcId",

    // the properties below are optional
    DeleteProtection = false,
    Description = "description",
    FirewallPolicyChangeProtection = false,
    SubnetChangeProtection = false,
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};

Synopsis

Constructors

CfnFirewallProps()

Properties

DeleteProtection

A flag indicating whether it is possible to delete the firewall.

Description

A description of the firewall.

FirewallName

The descriptive name of the firewall.

FirewallPolicyArn

The Amazon Resource Name (ARN) of the firewall policy.

FirewallPolicyChangeProtection

A setting indicating whether the firewall is protected against a change to the firewall policy association.

SubnetChangeProtection

A setting indicating whether the firewall is protected against changes to the subnet associations.

SubnetMappings

The public subnets that Network Firewall is using for the firewall.

Tags

An array of key-value pairs to apply to this resource.

VpcId

The unique identifier of the VPC where the firewall is in use.

Constructors

CfnFirewallProps()

public CfnFirewallProps()

Properties

DeleteProtection

A flag indicating whether it is possible to delete the firewall.

public object DeleteProtection { get; set; }
Property Value

System.Object

Remarks

A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-deleteprotection

Description

A description of the firewall.

public string Description { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-description

FirewallName

The descriptive name of the firewall.

public string FirewallName { get; set; }
Property Value

System.String

Remarks

You can't change the name of a firewall after you create it.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-firewallname

FirewallPolicyArn

The Amazon Resource Name (ARN) of the firewall policy.

public string FirewallPolicyArn { get; set; }
Property Value

System.String

Remarks

The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-firewallpolicyarn

FirewallPolicyChangeProtection

A setting indicating whether the firewall is protected against a change to the firewall policy association.

public object FirewallPolicyChangeProtection { get; set; }
Property Value

System.Object

Remarks

Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-firewallpolicychangeprotection

SubnetChangeProtection

A setting indicating whether the firewall is protected against changes to the subnet associations.

public object SubnetChangeProtection { get; set; }
Property Value

System.Object

Remarks

Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-subnetchangeprotection

SubnetMappings

The public subnets that Network Firewall is using for the firewall.

public object SubnetMappings { get; set; }
Property Value

System.Object

Remarks

Each subnet must belong to a different Availability Zone.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-subnetmappings

Tags

An array of key-value pairs to apply to this resource.

public ICfnTag[] Tags { get; set; }
Property Value

ICfnTag[]

Remarks

For more information, see Tag .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-tags

VpcId

The unique identifier of the VPC where the firewall is in use.

public string VpcId { get; set; }
Property Value

System.String

Remarks

You can't change the VPC of a firewall after you create the firewall.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-vpcid

Implements

ICfnFirewallProps
Back to top Generated by DocFX