#[non_exhaustive]pub struct CreateFirewallInput {
pub firewall_name: Option<String>,
pub firewall_policy_arn: Option<String>,
pub vpc_id: Option<String>,
pub subnet_mappings: Option<Vec<SubnetMapping>>,
pub delete_protection: Option<bool>,
pub subnet_change_protection: Option<bool>,
pub firewall_policy_change_protection: Option<bool>,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
pub encryption_configuration: Option<EncryptionConfiguration>,
}
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_policy_arn: Option<String>
The Amazon Resource Name (ARN) of the FirewallPolicy
that you want to use for the firewall.
vpc_id: Option<String>
The unique identifier of the VPC where Network Firewall should create the firewall.
You can't change this setting after you create the firewall.
subnet_mappings: Option<Vec<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.
delete_protection: Option<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: Option<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: Option<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.
The key:value pairs to associate with the resource.
encryption_configuration: Option<EncryptionConfiguration>
A complex type that contains settings for encryption of your firewall resources.
Implementations§
source§impl CreateFirewallInput
impl CreateFirewallInput
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_policy_arn(&self) -> Option<&str>
pub fn firewall_policy_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the FirewallPolicy
that you want to use for the firewall.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&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.
sourcepub fn subnet_mappings(&self) -> &[SubnetMapping]
pub fn subnet_mappings(&self) -> &[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.
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()
.
sourcepub fn delete_protection(&self) -> Option<bool>
pub fn delete_protection(&self) -> Option<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) -> Option<bool>
pub fn subnet_change_protection(&self) -> Option<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) -> Option<bool>
pub fn firewall_policy_change_protection(&self) -> Option<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.
The key:value pairs to associate with the resource.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
pub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
A complex type that contains settings for encryption of your firewall resources.
source§impl CreateFirewallInput
impl CreateFirewallInput
sourcepub fn builder() -> CreateFirewallInputBuilder
pub fn builder() -> CreateFirewallInputBuilder
Creates a new builder-style object to manufacture CreateFirewallInput
.
Trait Implementations§
source§impl Clone for CreateFirewallInput
impl Clone for CreateFirewallInput
source§fn clone(&self) -> CreateFirewallInput
fn clone(&self) -> CreateFirewallInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateFirewallInput
impl Debug for CreateFirewallInput
source§impl PartialEq for CreateFirewallInput
impl PartialEq for CreateFirewallInput
source§fn eq(&self, other: &CreateFirewallInput) -> bool
fn eq(&self, other: &CreateFirewallInput) -> bool
self
and other
values to be equal, and is used
by ==
.