/AWS1/CL_ECSSERVICECONNECTCONF¶
The Service Connect configuration of your Amazon ECS service. The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.
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.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_enabled
TYPE /AWS1/ECSBOOLEAN
/AWS1/ECSBOOLEAN
¶
Specifies whether to use Service Connect with this service.
Optional arguments:¶
iv_namespace
TYPE /AWS1/ECSSTRING
/AWS1/ECSSTRING
¶
The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace for use with Service Connect. The namespace must be in the same Amazon Web Services Region as the Amazon ECS service and cluster. The type of namespace doesn't affect Service Connect. For more information about Cloud Map, see Working with Services in the Cloud Map Developer Guide.
it_services
TYPE /AWS1/CL_ECSSERVICECNCTSERVICE=>TT_SERVICECONNECTSERVICELIST
TT_SERVICECONNECTSERVICELIST
¶
The list of Service Connect service objects. These are names and aliases (also known as endpoints) that are used by other Amazon ECS services to connect to this service.
This field is not required for a "client" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means.
An object selects a port from the task definition, assigns a name for the Cloud Map service, and a list of aliases (endpoints) and ports for client applications to refer to this service.
io_logconfiguration
TYPE REF TO /AWS1/CL_ECSLOGCONFIGURATION
/AWS1/CL_ECSLOGCONFIGURATION
¶
logConfiguration
Queryable Attributes¶
enabled¶
Specifies whether to use Service Connect with this service.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ENABLED() |
Getter for ENABLED |
namespace¶
The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace for use with Service Connect. The namespace must be in the same Amazon Web Services Region as the Amazon ECS service and cluster. The type of namespace doesn't affect Service Connect. For more information about Cloud Map, see Working with Services in the Cloud Map Developer Guide.
Accessible with the following methods¶
Method | Description |
---|---|
GET_NAMESPACE() |
Getter for NAMESPACE, with configurable default |
ASK_NAMESPACE() |
Getter for NAMESPACE w/ exceptions if field has no value |
HAS_NAMESPACE() |
Determine if NAMESPACE has a value |
services¶
The list of Service Connect service objects. These are names and aliases (also known as endpoints) that are used by other Amazon ECS services to connect to this service.
This field is not required for a "client" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means.
An object selects a port from the task definition, assigns a name for the Cloud Map service, and a list of aliases (endpoints) and ports for client applications to refer to this service.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SERVICES() |
Getter for SERVICES, with configurable default |
ASK_SERVICES() |
Getter for SERVICES w/ exceptions if field has no value |
HAS_SERVICES() |
Determine if SERVICES has a value |
logConfiguration¶
logConfiguration
Accessible with the following methods¶
Method | Description |
---|---|
GET_LOGCONFIGURATION() |
Getter for LOGCONFIGURATION |