Struct aws_sdk_route53resolver::types::ResolverRuleConfig
source · #[non_exhaustive]pub struct ResolverRuleConfig {
pub name: Option<String>,
pub target_ips: Option<Vec<TargetAddress>>,
pub resolver_endpoint_id: Option<String>,
}Expand description
In an UpdateResolverRule request, information about the changes that you want to make.
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.name: Option<String>The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.
target_ips: Option<Vec<TargetAddress>>For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
resolver_endpoint_id: Option<String>The ID of the new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps.
Implementations§
source§impl ResolverRuleConfig
impl ResolverRuleConfig
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.
sourcepub fn target_ips(&self) -> &[TargetAddress]
pub fn target_ips(&self) -> &[TargetAddress]
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .target_ips.is_none().
sourcepub fn resolver_endpoint_id(&self) -> Option<&str>
pub fn resolver_endpoint_id(&self) -> Option<&str>
The ID of the new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps.
source§impl ResolverRuleConfig
impl ResolverRuleConfig
sourcepub fn builder() -> ResolverRuleConfigBuilder
pub fn builder() -> ResolverRuleConfigBuilder
Creates a new builder-style object to manufacture ResolverRuleConfig.
Trait Implementations§
source§impl Clone for ResolverRuleConfig
impl Clone for ResolverRuleConfig
source§fn clone(&self) -> ResolverRuleConfig
fn clone(&self) -> ResolverRuleConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ResolverRuleConfig
impl Debug for ResolverRuleConfig
source§impl PartialEq for ResolverRuleConfig
impl PartialEq for ResolverRuleConfig
source§fn eq(&self, other: &ResolverRuleConfig) -> bool
fn eq(&self, other: &ResolverRuleConfig) -> bool
self and other values to be equal, and is used
by ==.