Struct aws_sdk_ecs::types::ClusterServiceConnectDefaults
source · #[non_exhaustive]pub struct ClusterServiceConnectDefaults {
pub namespace: Option<String>,
}
Expand description
Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled
parameter to true
in the ServiceConnectConfiguration
. You can set the namespace of each service individually in the ServiceConnectConfiguration
to override this default parameter.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
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.namespace: Option<String>
The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace. When you create a service and don't specify a Service Connect configuration, this namespace is used.
Implementations§
source§impl ClusterServiceConnectDefaults
impl ClusterServiceConnectDefaults
sourcepub fn builder() -> ClusterServiceConnectDefaultsBuilder
pub fn builder() -> ClusterServiceConnectDefaultsBuilder
Creates a new builder-style object to manufacture ClusterServiceConnectDefaults
.
Trait Implementations§
source§impl Clone for ClusterServiceConnectDefaults
impl Clone for ClusterServiceConnectDefaults
source§fn clone(&self) -> ClusterServiceConnectDefaults
fn clone(&self) -> ClusterServiceConnectDefaults
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ClusterServiceConnectDefaults
impl PartialEq for ClusterServiceConnectDefaults
source§fn eq(&self, other: &ClusterServiceConnectDefaults) -> bool
fn eq(&self, other: &ClusterServiceConnectDefaults) -> bool
self
and other
values to be equal, and is used
by ==
.