AWS ECS

Status: Experimental

type: aws.ecs

Description: Resources used by AWS Elastic Container Service (ECS).

AttributeTypeDescriptionExamplesRequirement LevelStability
aws.ecs.task.idstringThe ID of a running ECS task. The ID MUST be extracted from task.arn.10838bed-421f-43ef-870a-f43feacbbb5b; 23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbdConditionally Required If and only if task.arn is populated.Experimental
aws.ecs.cluster.arnstringThe ARN of an ECS cluster.arn:aws:ecs:us-west-2:123456789123:cluster/my-clusterRecommendedExperimental
aws.ecs.container.arnstringThe Amazon Resource Name (ARN) of an ECS container instance.arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9RecommendedExperimental
aws.ecs.launchtypestringThe launch type for an ECS task.ec2; fargateRecommendedExperimental
aws.ecs.task.arnstringThe ARN of a running ECS task.arn:aws:ecs:us-west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b; arn:aws:ecs:us-west-1:123456789123:task/my-cluster/task-id/23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbdRecommendedExperimental
aws.ecs.task.familystringThe family name of the ECS task definition used to create the ECS task.opentelemetry-familyRecommendedExperimental
aws.ecs.task.revisionstringThe revision for the task definition used to create the ECS task.8; 26RecommendedExperimental

aws.ecs.launchtype has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
ec2ec2Experimental
fargatefargateExperimental