Struct aws_sdk_networkfirewall::model::Firewall
source · [−]#[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>>,
pub encryption_configuration: Option<EncryptionConfiguration>,
}
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
.
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.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.
encryption_configuration: Option<EncryptionConfiguration>
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall.
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.
Trait Implementations
impl StructuralPartialEq for Firewall
Auto Trait Implementations
impl RefUnwindSafe for Firewall
impl Send for Firewall
impl Sync for Firewall
impl Unpin for Firewall
impl UnwindSafe for Firewall
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more