AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::NetworkFirewall::Types::CreateFirewallRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateFirewallRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  firewall_name: "ResourceName", # required
  firewall_policy_arn: "ResourceArn", # required
  vpc_id: "VpcId", # required
  subnet_mappings: [ # required
    {
      subnet_id: "CollectionMember_String", # required
    },
  ],
  delete_protection: false,
  subnet_change_protection: false,
  firewall_policy_change_protection: false,
  description: "Description",
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#delete_protectionBoolean

A flag indicating whether it is possible to delete the firewall. 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.

Returns:

  • (Boolean)

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

#descriptionString

A description of the firewall.

Returns:

  • (String)

    A description of the firewall.

#firewall_nameString

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

Returns:

  • (String)

    The descriptive name of the firewall.

#firewall_policy_arnString

The Amazon Resource Name (ARN) of the FirewallPolicy that you want to use for the firewall.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the FirewallPolicy that you want to use for the firewall.

#firewall_policy_change_protectionBoolean

A setting indicating whether the firewall is protected against a change to the firewall policy association. 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.

Returns:

  • (Boolean)

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

#subnet_change_protectionBoolean

A setting indicating whether the firewall is protected against changes to the subnet associations. 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.

Returns:

  • (Boolean)

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

#subnet_mappingsArray<Types::SubnetMapping>

The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet.

Returns:

#tagsArray<Types::Tag>

The key:value pairs to associate with the resource.

Returns:

  • (Array<Types::Tag>)

    The key:value pairs to associate with the resource.

#vpc_idString

The unique identifier of the VPC where Network Firewall should create the firewall.

You can\'t change this setting after you create the firewall.

Returns:

  • (String)

    The unique identifier of the VPC where Network Firewall should create the firewall.