Struct aws_sdk_ec2::types::DnsOptionsSpecification
source · #[non_exhaustive]pub struct DnsOptionsSpecification {
pub dns_record_ip_type: Option<DnsRecordIpType>,
pub private_dns_only_for_inbound_resolver_endpoint: Option<bool>,
}
Expand description
Describes the DNS options for an endpoint.
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.dns_record_ip_type: Option<DnsRecordIpType>
The DNS records created for the endpoint.
private_dns_only_for_inbound_resolver_endpoint: Option<bool>
Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
Implementations§
source§impl DnsOptionsSpecification
impl DnsOptionsSpecification
sourcepub fn dns_record_ip_type(&self) -> Option<&DnsRecordIpType>
pub fn dns_record_ip_type(&self) -> Option<&DnsRecordIpType>
The DNS records created for the endpoint.
sourcepub fn private_dns_only_for_inbound_resolver_endpoint(&self) -> Option<bool>
pub fn private_dns_only_for_inbound_resolver_endpoint(&self) -> Option<bool>
Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
source§impl DnsOptionsSpecification
impl DnsOptionsSpecification
sourcepub fn builder() -> DnsOptionsSpecificationBuilder
pub fn builder() -> DnsOptionsSpecificationBuilder
Creates a new builder-style object to manufacture DnsOptionsSpecification
.
Trait Implementations§
source§impl Clone for DnsOptionsSpecification
impl Clone for DnsOptionsSpecification
source§fn clone(&self) -> DnsOptionsSpecification
fn clone(&self) -> DnsOptionsSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DnsOptionsSpecification
impl Debug for DnsOptionsSpecification
source§impl PartialEq<DnsOptionsSpecification> for DnsOptionsSpecification
impl PartialEq<DnsOptionsSpecification> for DnsOptionsSpecification
source§fn eq(&self, other: &DnsOptionsSpecification) -> bool
fn eq(&self, other: &DnsOptionsSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.