Struct aws_sdk_route53resolver::operation::update_firewall_config::builders::UpdateFirewallConfigInputBuilder
source · #[non_exhaustive]pub struct UpdateFirewallConfigInputBuilder { /* private fields */ }Expand description
A builder for UpdateFirewallConfigInput.
Implementations§
source§impl UpdateFirewallConfigInputBuilder
impl UpdateFirewallConfigInputBuilder
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 the configuration is for.
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 the configuration is for.
sourcepub fn firewall_fail_open(self, input: FirewallFailOpenStatus) -> Self
pub fn firewall_fail_open(self, input: FirewallFailOpenStatus) -> Self
Determines how Route 53 Resolver handles queries 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 blocks queries that it is unable to evaluate properly.
-
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 Route 53 Resolver handles queries 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 blocks queries that it is unable to evaluate properly.
-
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) -> Result<UpdateFirewallConfigInput, BuildError>
pub fn build(self) -> Result<UpdateFirewallConfigInput, BuildError>
Consumes the builder and constructs a UpdateFirewallConfigInput.
Trait Implementations§
source§impl Clone for UpdateFirewallConfigInputBuilder
impl Clone for UpdateFirewallConfigInputBuilder
source§fn clone(&self) -> UpdateFirewallConfigInputBuilder
fn clone(&self) -> UpdateFirewallConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateFirewallConfigInputBuilder
impl Default for UpdateFirewallConfigInputBuilder
source§fn default() -> UpdateFirewallConfigInputBuilder
fn default() -> UpdateFirewallConfigInputBuilder
source§impl PartialEq<UpdateFirewallConfigInputBuilder> for UpdateFirewallConfigInputBuilder
impl PartialEq<UpdateFirewallConfigInputBuilder> for UpdateFirewallConfigInputBuilder
source§fn eq(&self, other: &UpdateFirewallConfigInputBuilder) -> bool
fn eq(&self, other: &UpdateFirewallConfigInputBuilder) -> bool
self and other values to be equal, and is used
by ==.