NAME

Paws::NetworkFirewall::CreateFirewall - Arguments for method CreateFirewall on Paws::NetworkFirewall

DESCRIPTION

This class represents the parameters used for calling the method CreateFirewall on the AWS Network Firewall service. Use the attributes of this class as arguments to method CreateFirewall.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateFirewall.

SYNOPSIS

my $network-firewall = Paws->service('NetworkFirewall');
my $CreateFirewallResponse = $network -firewall->CreateFirewall(
  FirewallName      => 'MyResourceName',
  FirewallPolicyArn => 'MyResourceArn',
  SubnetMappings    => [
    {
      SubnetId => 'MyCollectionMember_String',

    },
    ...
  ],
  VpcId                          => 'MyVpcId',
  DeleteProtection               => 1,                  # OPTIONAL
  Description                    => 'MyDescription',    # OPTIONAL
  FirewallPolicyChangeProtection => 1,                  # OPTIONAL
  SubnetChangeProtection         => 1,                  # OPTIONAL
  Tags                           => [
    {
      Key   => 'MyTagKey',      # min: 1, max: 128
      Value => 'MyTagValue',    # max: 256

    },
    ...
  ],    # OPTIONAL
);

# Results:
my $Firewall       = $CreateFirewallResponse->Firewall;
my $FirewallStatus = $CreateFirewallResponse->FirewallStatus;

# Returns a L<Paws::NetworkFirewall::CreateFirewallResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/network-firewall/CreateFirewall

ATTRIBUTES

DeleteProtection => Bool

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.

Description => Str

A description of the firewall.

REQUIRED FirewallName => Str

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

REQUIRED FirewallPolicyArn => Str

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

FirewallPolicyChangeProtection => Bool

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.

SubnetChangeProtection => Bool

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.

REQUIRED SubnetMappings => ArrayRef[Paws::NetworkFirewall::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.

Tags => ArrayRef[Paws::NetworkFirewall::Tag]

The key:value pairs to associate with the resource.

REQUIRED VpcId => Str

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

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

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateFirewall in Paws::NetworkFirewall

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues