#[non_exhaustive]pub struct AwsNetworkFirewallFirewallDetails {
pub delete_protection: Option<bool>,
pub description: Option<String>,
pub firewall_arn: Option<String>,
pub firewall_id: Option<String>,
pub firewall_name: Option<String>,
pub firewall_policy_arn: Option<String>,
pub firewall_policy_change_protection: Option<bool>,
pub subnet_change_protection: Option<bool>,
pub subnet_mappings: Option<Vec<AwsNetworkFirewallFirewallSubnetMappingsDetails>>,
pub vpc_id: Option<String>,
}
Expand description
Details about an Network Firewall firewall.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.delete_protection: Option<bool>
Whether the firewall is protected from deletion. If set to true
, then the firewall cannot be deleted.
description: Option<String>
A description of the firewall.
firewall_arn: Option<String>
The ARN of the firewall.
firewall_id: Option<String>
The identifier of the firewall.
firewall_name: Option<String>
A descriptive name of the firewall.
firewall_policy_arn: Option<String>
The ARN of the firewall policy.
firewall_policy_change_protection: Option<bool>
Whether the firewall is protected from a change to the firewall policy. If set to true
, you cannot associate a different policy with the firewall.
subnet_change_protection: Option<bool>
Whether the firewall is protected from a change to the subnet associations. If set to true
, you cannot map different subnets to the firewall.
subnet_mappings: Option<Vec<AwsNetworkFirewallFirewallSubnetMappingsDetails>>
The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different Availability Zone.
vpc_id: Option<String>
The identifier of the VPC where the firewall is used.
Implementations§
source§impl AwsNetworkFirewallFirewallDetails
impl AwsNetworkFirewallFirewallDetails
sourcepub fn delete_protection(&self) -> Option<bool>
pub fn delete_protection(&self) -> Option<bool>
Whether the firewall is protected from deletion. If set to true
, then the firewall cannot be deleted.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the firewall.
sourcepub fn firewall_arn(&self) -> Option<&str>
pub fn firewall_arn(&self) -> Option<&str>
The ARN of the firewall.
sourcepub fn firewall_id(&self) -> Option<&str>
pub fn firewall_id(&self) -> Option<&str>
The identifier of the firewall.
sourcepub fn firewall_name(&self) -> Option<&str>
pub fn firewall_name(&self) -> Option<&str>
A descriptive name of the firewall.
sourcepub fn firewall_policy_arn(&self) -> Option<&str>
pub fn firewall_policy_arn(&self) -> Option<&str>
The ARN of the firewall policy.
sourcepub fn firewall_policy_change_protection(&self) -> Option<bool>
pub fn firewall_policy_change_protection(&self) -> Option<bool>
Whether the firewall is protected from a change to the firewall policy. If set to true
, you cannot associate a different policy with the firewall.
sourcepub fn subnet_change_protection(&self) -> Option<bool>
pub fn subnet_change_protection(&self) -> Option<bool>
Whether the firewall is protected from a change to the subnet associations. If set to true
, you cannot map different subnets to the firewall.
sourcepub fn subnet_mappings(
&self
) -> &[AwsNetworkFirewallFirewallSubnetMappingsDetails]
pub fn subnet_mappings( &self ) -> &[AwsNetworkFirewallFirewallSubnetMappingsDetails]
The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different Availability Zone.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_mappings.is_none()
.
source§impl AwsNetworkFirewallFirewallDetails
impl AwsNetworkFirewallFirewallDetails
sourcepub fn builder() -> AwsNetworkFirewallFirewallDetailsBuilder
pub fn builder() -> AwsNetworkFirewallFirewallDetailsBuilder
Creates a new builder-style object to manufacture AwsNetworkFirewallFirewallDetails
.
Trait Implementations§
source§impl Clone for AwsNetworkFirewallFirewallDetails
impl Clone for AwsNetworkFirewallFirewallDetails
source§fn clone(&self) -> AwsNetworkFirewallFirewallDetails
fn clone(&self) -> AwsNetworkFirewallFirewallDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsNetworkFirewallFirewallDetails
impl PartialEq for AwsNetworkFirewallFirewallDetails
source§fn eq(&self, other: &AwsNetworkFirewallFirewallDetails) -> bool
fn eq(&self, other: &AwsNetworkFirewallFirewallDetails) -> bool
self
and other
values to be equal, and is used
by ==
.