Struct aws_sdk_networkfirewall::input::CreateFirewallInput
source · [−]#[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>>,
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: 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.
encryption_configuration: Option<EncryptionConfiguration>
A complex type that contains settings for encryption of your firewall resources.
Implementations
sourceimpl CreateFirewallInput
impl CreateFirewallInput
sourcepub 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateFirewallInput
sourceimpl 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) -> Option<&[SubnetMapping]>
pub fn subnet_mappings(&self) -> Option<&[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.
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.
The key:value pairs to associate with the resource.
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.
Trait Implementations
sourceimpl Clone for CreateFirewallInput
impl Clone for CreateFirewallInput
sourcefn clone(&self) -> CreateFirewallInput
fn clone(&self) -> CreateFirewallInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateFirewallInput
impl Debug for CreateFirewallInput
sourceimpl PartialEq<CreateFirewallInput> for CreateFirewallInput
impl PartialEq<CreateFirewallInput> for CreateFirewallInput
sourcefn eq(&self, other: &CreateFirewallInput) -> bool
fn eq(&self, other: &CreateFirewallInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateFirewallInput) -> bool
fn ne(&self, other: &CreateFirewallInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateFirewallInput
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
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