Struct aws_sdk_networkfirewall::input::CreateFirewallInput [−][src]
#[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: bool,
pub subnet_change_protection: bool,
pub firewall_policy_change_protection: bool,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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: 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.
The key:value pairs to associate with the resource.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateFirewall, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateFirewall, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateFirewall
>
Creates a new builder-style object to manufacture CreateFirewallInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateFirewallInput
impl Send for CreateFirewallInput
impl Sync for CreateFirewallInput
impl Unpin for CreateFirewallInput
impl UnwindSafe for CreateFirewallInput
Blanket Implementations
Mutably borrows from an owned value. Read more
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