#[non_exhaustive]
pub struct Firewall { pub firewall_name: Option<String>, pub firewall_arn: Option<String>, pub firewall_policy_arn: Option<String>, pub vpc_id: Option<String>, pub subnet_mappings: Option<Vec<SubnetMapping>>, pub delete_protection: bool, pub subnet_change_protection: bool, pub firewall_policy_change_protection: bool, pub description: Option<String>, pub firewall_id: Option<String>, pub tags: Option<Vec<Tag>>, }
Expand description

The firewall defines the configuration settings for an AWS Network Firewall firewall. These settings include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall AWS resource.

The status of the firewall, for example whether it's ready to filter network traffic, is provided in the corresponding FirewallStatus. You can retrieve both objects by calling DescribeFirewall.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
firewall_name: Option<String>

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

firewall_arn: Option<String>

The Amazon Resource Name (ARN) of the firewall.

firewall_policy_arn: Option<String>

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

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.

vpc_id: Option<String>

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

subnet_mappings: Option<Vec<SubnetMapping>>

The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.

delete_protection: 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.

subnet_change_protection: 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.

firewall_policy_change_protection: 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.

description: Option<String>

A description of the firewall.

firewall_id: Option<String>

The unique identifier for the firewall.

tags: Option<Vec<Tag>>

Implementations

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

The Amazon Resource Name (ARN) of the firewall.

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

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.

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

The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.

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.

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.

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.

A description of the firewall.

The unique identifier for the firewall.

Creates a new builder-style object to manufacture Firewall

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more