amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECS.Types.ClusterServiceConnectDefaults

Description

 
Synopsis

Documentation

data ClusterServiceConnectDefaults Source #

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.

See: newClusterServiceConnectDefaults smart constructor.

Constructors

ClusterServiceConnectDefaults' 

Fields

  • namespace :: Maybe Text

    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.

Instances

Instances details
FromJSON ClusterServiceConnectDefaults Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterServiceConnectDefaults

Generic ClusterServiceConnectDefaults Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterServiceConnectDefaults

Associated Types

type Rep ClusterServiceConnectDefaults :: Type -> Type #

Read ClusterServiceConnectDefaults Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterServiceConnectDefaults

Show ClusterServiceConnectDefaults Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterServiceConnectDefaults

NFData ClusterServiceConnectDefaults Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterServiceConnectDefaults

Eq ClusterServiceConnectDefaults Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterServiceConnectDefaults

Hashable ClusterServiceConnectDefaults Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterServiceConnectDefaults

type Rep ClusterServiceConnectDefaults Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterServiceConnectDefaults

type Rep ClusterServiceConnectDefaults = D1 ('MetaData "ClusterServiceConnectDefaults" "Amazonka.ECS.Types.ClusterServiceConnectDefaults" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "ClusterServiceConnectDefaults'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newClusterServiceConnectDefaults :: ClusterServiceConnectDefaults Source #

Create a value of ClusterServiceConnectDefaults with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:namespace:ClusterServiceConnectDefaults', clusterServiceConnectDefaults_namespace - 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.

clusterServiceConnectDefaults_namespace :: Lens' ClusterServiceConnectDefaults (Maybe Text) Source #

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.