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
impl StructuralPartialEq for ResolverRuleConfig
Auto Trait Implementations§
impl Freeze for ResolverRuleConfig
impl RefUnwindSafe for ResolverRuleConfig
impl Send for ResolverRuleConfig
impl Sync for ResolverRuleConfig
impl Unpin for ResolverRuleConfig
impl UnwindSafe for ResolverRuleConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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