> Source: https://www.ymotongpoo.com/works/otel-specs-ja/semconv/resource/cloud-provider/aws/ecs/


# AWS ECS

<!-- markdownlint-disable -->
<!-- semconv entity.aws.ecs -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

**Status:** ![Development](https://img.shields.io/badge/-development-blue)

**type:** `aws.ecs`

**Description:** AWS Elastic Container Service（ECS）が使用するEntity。

> [!warning]
> このEntity定義には、ロールを持たない属性が含まれています。
> 安定版のEntityは、ロールが定義されていない属性を持ってはなりません（MUST NOT）。

**Attributes:**

| Role | Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- | --- |
| Other | [`aws.ecs.task.id`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aws/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` `task.arn` が設定されている場合、かつその場合のみ。 | string | 実行中のECSタスクのID。このIDは `task.arn` から抽出しなければなりません（MUST）。 | `10838bed-421f-43ef-870a-f43feacbbb5b`; `23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd` |
| Other | [`aws.ecs.cluster.arn`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aws/) | ![Development](https://img.shields.io/badge/-development-blue) | `Recommended` | string | [ECSクラスター](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html)のARN。 | `arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster` |
| Other | [`aws.ecs.container.arn`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aws/) | ![Development](https://img.shields.io/badge/-development-blue) | `Recommended` | string | [ECSコンテナインスタンス](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html)のAmazon Resource Name（ARN）。 | `arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9` |
| Other | [`aws.ecs.launchtype`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aws/) | ![Development](https://img.shields.io/badge/-development-blue) | `Recommended` | string | ECSタスクの[起動タイプ](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html)。 | `ec2`; `fargate` |
| Other | [`aws.ecs.task.arn`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aws/) | ![Development](https://img.shields.io/badge/-development-blue) | `Recommended` | string | 実行中の[ECSタスク](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids)のARN。 | `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-d55d0e37cfbd` |
| Other | [`aws.ecs.task.family`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aws/) | ![Development](https://img.shields.io/badge/-development-blue) | `Recommended` | string | ECSタスクの作成に使われた[ECSタスク定義](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html)のファミリー名。 | `opentelemetry-family` |
| Other | [`aws.ecs.task.revision`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aws/) | ![Development](https://img.shields.io/badge/-development-blue) | `Recommended` | string | ECSタスクの作成に使われたタスク定義のリビジョン。 | `8`; `26` |



---

`aws.ecs.launchtype` には、次のよく知られた値の一覧があります。いずれかが該当する場合はその値を使用しなければならず（MUST）、それ以外の場合は独自の値を使ってもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `ec2` | Amazon EC2 | ![Development](https://img.shields.io/badge/-development-blue) |
| `fargate` | Amazon Fargate | ![Development](https://img.shields.io/badge/-development-blue) |
<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->
<!-- markdownlint-restore -->

