#[non_exhaustive]pub struct CreateRouteInput {
pub environment_identifier: Option<String>,
pub application_identifier: Option<String>,
pub service_identifier: Option<String>,
pub route_type: Option<RouteType>,
pub default_route: Option<DefaultRouteInput>,
pub uri_path_route: Option<UriPathRouteInput>,
pub tags: Option<HashMap<String, String>>,
pub client_token: Option<String>,
}
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.environment_identifier: Option<String>
The ID of the environment in which the route is created.
application_identifier: Option<String>
The ID of the application within which the route is being created.
service_identifier: Option<String>
The ID of the service in which the route is created. Traffic that matches this route is forwarded to this service.
route_type: Option<RouteType>
The route type of the route. DEFAULT
indicates that all traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created. URI_PATH
indicates a route that is based on a URI path.
default_route: Option<DefaultRouteInput>
Configuration for the default route type.
uri_path_route: Option<UriPathRouteInput>
The configuration for the URI path route type.
The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Implementations§
source§impl CreateRouteInput
impl CreateRouteInput
sourcepub fn environment_identifier(&self) -> Option<&str>
pub fn environment_identifier(&self) -> Option<&str>
The ID of the environment in which the route is created.
sourcepub fn application_identifier(&self) -> Option<&str>
pub fn application_identifier(&self) -> Option<&str>
The ID of the application within which the route is being created.
sourcepub fn service_identifier(&self) -> Option<&str>
pub fn service_identifier(&self) -> Option<&str>
The ID of the service in which the route is created. Traffic that matches this route is forwarded to this service.
sourcepub fn route_type(&self) -> Option<&RouteType>
pub fn route_type(&self) -> Option<&RouteType>
The route type of the route. DEFAULT
indicates that all traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created. URI_PATH
indicates a route that is based on a URI path.
sourcepub fn default_route(&self) -> Option<&DefaultRouteInput>
pub fn default_route(&self) -> Option<&DefaultRouteInput>
Configuration for the default route type.
sourcepub fn uri_path_route(&self) -> Option<&UriPathRouteInput>
pub fn uri_path_route(&self) -> Option<&UriPathRouteInput>
The configuration for the URI path route type.
The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
source§impl CreateRouteInput
impl CreateRouteInput
sourcepub fn builder() -> CreateRouteInputBuilder
pub fn builder() -> CreateRouteInputBuilder
Creates a new builder-style object to manufacture CreateRouteInput
.
Trait Implementations§
source§impl Clone for CreateRouteInput
impl Clone for CreateRouteInput
source§fn clone(&self) -> CreateRouteInput
fn clone(&self) -> CreateRouteInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRouteInput
impl Debug for CreateRouteInput
source§impl PartialEq for CreateRouteInput
impl PartialEq for CreateRouteInput
source§fn eq(&self, other: &CreateRouteInput) -> bool
fn eq(&self, other: &CreateRouteInput) -> bool
self
and other
values to be equal, and is used
by ==
.