Struct aws_sdk_ecs::operation::update_cluster::UpdateClusterInput
source · #[non_exhaustive]pub struct UpdateClusterInput {
pub cluster: Option<String>,
pub settings: Option<Vec<ClusterSetting>>,
pub configuration: Option<ClusterConfiguration>,
pub service_connect_defaults: Option<ClusterServiceConnectDefaultsRequest>,
}
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.cluster: Option<String>
The name of the cluster to modify the settings for.
settings: Option<Vec<ClusterSetting>>
The cluster settings for your cluster.
configuration: Option<ClusterConfiguration>
The execute command configuration for the cluster.
service_connect_defaults: Option<ClusterServiceConnectDefaultsRequest>
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.
Implementations§
source§impl UpdateClusterInput
impl UpdateClusterInput
sourcepub fn settings(&self) -> &[ClusterSetting]
pub fn settings(&self) -> &[ClusterSetting]
The cluster settings for your cluster.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .settings.is_none()
.
sourcepub fn configuration(&self) -> Option<&ClusterConfiguration>
pub fn configuration(&self) -> Option<&ClusterConfiguration>
The execute command configuration for the cluster.
sourcepub fn service_connect_defaults(
&self
) -> Option<&ClusterServiceConnectDefaultsRequest>
pub fn service_connect_defaults( &self ) -> Option<&ClusterServiceConnectDefaultsRequest>
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.
source§impl UpdateClusterInput
impl UpdateClusterInput
sourcepub fn builder() -> UpdateClusterInputBuilder
pub fn builder() -> UpdateClusterInputBuilder
Creates a new builder-style object to manufacture UpdateClusterInput
.
Trait Implementations§
source§impl Clone for UpdateClusterInput
impl Clone for UpdateClusterInput
source§fn clone(&self) -> UpdateClusterInput
fn clone(&self) -> UpdateClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateClusterInput
impl Debug for UpdateClusterInput
source§impl PartialEq for UpdateClusterInput
impl PartialEq for UpdateClusterInput
source§fn eq(&self, other: &UpdateClusterInput) -> bool
fn eq(&self, other: &UpdateClusterInput) -> bool
self
and other
values to be equal, and is used
by ==
.