Struct aws_sdk_apigateway::types::EndpointConfiguration
source · #[non_exhaustive]pub struct EndpointConfiguration {
pub types: Option<Vec<EndpointType>>,
pub vpc_endpoint_ids: Option<Vec<String>>,
}
Expand description
The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.
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.types: Option<Vec<EndpointType>>
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional API and its custom domain name, the endpoint type is REGIONAL
. For a private API, the endpoint type is PRIVATE
.
vpc_endpoint_ids: Option<Vec<String>>
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE
endpoint type.
Implementations§
source§impl EndpointConfiguration
impl EndpointConfiguration
sourcepub fn types(&self) -> Option<&[EndpointType]>
pub fn types(&self) -> Option<&[EndpointType]>
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional API and its custom domain name, the endpoint type is REGIONAL
. For a private API, the endpoint type is PRIVATE
.
sourcepub fn vpc_endpoint_ids(&self) -> Option<&[String]>
pub fn vpc_endpoint_ids(&self) -> Option<&[String]>
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE
endpoint type.
source§impl EndpointConfiguration
impl EndpointConfiguration
sourcepub fn builder() -> EndpointConfigurationBuilder
pub fn builder() -> EndpointConfigurationBuilder
Creates a new builder-style object to manufacture EndpointConfiguration
.
Trait Implementations§
source§impl Clone for EndpointConfiguration
impl Clone for EndpointConfiguration
source§fn clone(&self) -> EndpointConfiguration
fn clone(&self) -> EndpointConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EndpointConfiguration
impl Debug for EndpointConfiguration
source§impl PartialEq<EndpointConfiguration> for EndpointConfiguration
impl PartialEq<EndpointConfiguration> for EndpointConfiguration
source§fn eq(&self, other: &EndpointConfiguration) -> bool
fn eq(&self, other: &EndpointConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.