Struct aws_sdk_networkfirewall::model::Firewall
source · [−]#[non_exhaustive]pub struct Firewall { /* private fields */ }
Expand description
The firewall defines the configuration settings for an 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 Amazon Web Services 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
.
Implementations
sourceimpl Firewall
impl Firewall
sourcepub fn firewall_name(&self) -> Option<&str>
pub fn firewall_name(&self) -> Option<&str>
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
sourcepub fn firewall_arn(&self) -> Option<&str>
pub fn firewall_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the firewall.
sourcepub fn firewall_policy_arn(&self) -> Option<&str>
pub fn firewall_policy_arn(&self) -> Option<&str>
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.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The unique identifier of the VPC where the firewall is in use.
sourcepub fn subnet_mappings(&self) -> Option<&[SubnetMapping]>
pub fn subnet_mappings(&self) -> Option<&[SubnetMapping]>
The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.
sourcepub fn delete_protection(&self) -> bool
pub fn delete_protection(&self) -> 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
.
sourcepub fn subnet_change_protection(&self) -> bool
pub fn subnet_change_protection(&self) -> 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
.
sourcepub fn firewall_policy_change_protection(&self) -> bool
pub fn firewall_policy_change_protection(&self) -> 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
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the firewall.
sourcepub fn firewall_id(&self) -> Option<&str>
pub fn firewall_id(&self) -> Option<&str>
The unique identifier for the firewall.
sourcepub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
pub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall.