#[non_exhaustive]pub struct FirewallConfigBuilder { /* private fields */ }
Expand description
A builder for FirewallConfig
.
Implementations§
source§impl FirewallConfigBuilder
impl FirewallConfigBuilder
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the VPC that this firewall configuration applies to.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the VPC that this firewall configuration applies to.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The ID of the VPC that this firewall configuration applies to.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
sourcepub fn firewall_fail_open(self, input: FirewallFailOpenStatus) -> Self
pub fn firewall_fail_open(self, input: FirewallFailOpenStatus) -> Self
Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
-
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query.
-
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
sourcepub fn set_firewall_fail_open(
self,
input: Option<FirewallFailOpenStatus>
) -> Self
pub fn set_firewall_fail_open( self, input: Option<FirewallFailOpenStatus> ) -> Self
Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
-
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query.
-
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
sourcepub fn get_firewall_fail_open(&self) -> &Option<FirewallFailOpenStatus>
pub fn get_firewall_fail_open(&self) -> &Option<FirewallFailOpenStatus>
Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
-
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query.
-
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
sourcepub fn build(self) -> FirewallConfig
pub fn build(self) -> FirewallConfig
Consumes the builder and constructs a FirewallConfig
.
Trait Implementations§
source§impl Clone for FirewallConfigBuilder
impl Clone for FirewallConfigBuilder
source§fn clone(&self) -> FirewallConfigBuilder
fn clone(&self) -> FirewallConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FirewallConfigBuilder
impl Debug for FirewallConfigBuilder
source§impl Default for FirewallConfigBuilder
impl Default for FirewallConfigBuilder
source§fn default() -> FirewallConfigBuilder
fn default() -> FirewallConfigBuilder
source§impl PartialEq for FirewallConfigBuilder
impl PartialEq for FirewallConfigBuilder
source§fn eq(&self, other: &FirewallConfigBuilder) -> bool
fn eq(&self, other: &FirewallConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FirewallConfigBuilder
Auto Trait Implementations§
impl Freeze for FirewallConfigBuilder
impl RefUnwindSafe for FirewallConfigBuilder
impl Send for FirewallConfigBuilder
impl Sync for FirewallConfigBuilder
impl Unpin for FirewallConfigBuilder
impl UnwindSafe for FirewallConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more