@overload
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions]=None, key: Optional[pulumi.Input[str]]=None, resource_arn: Optional[pulumi.Input[str]]=None, value: Optional[pulumi.Input[str]]=None, __props__=None):
    '\n        ## Import\n\n        `aws_ecs_tag` can be imported by using the ECS resource identifier and key, separated by a comma (`,`), e.g.\n\n        ```sh\n         $ pulumi import aws:ecs/tag:Tag example arn:aws:ecs:us-east-1:123456789012:cluster/example,Name\n        ```\n\n        :param str resource_name: The name of the resource.\n        :param pulumi.ResourceOptions opts: Options for the resource.\n        :param pulumi.Input[str] key: Tag name.\n        :param pulumi.Input[str] resource_arn: Amazon Resource Name (ARN) of the ECS resource to tag.\n        :param pulumi.Input[str] value: Tag value.\n        '
    ...
## Import

`aws_ecs_tag` can be imported by using the ECS resource identifier and key, separated by a comma (`,`), e.g.

```sh
 $ pulumi import aws:ecs/tag:Tag example arn:aws:ecs:us-east-1:123456789012:cluster/example,Name
```

:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] key: Tag name.
:param pulumi.Input[str] resource_arn: Amazon Resource Name (ARN) of the ECS resource to tag.
:param pulumi.Input[str] value: Tag value.
@overload
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions]=None, key: Optional[pulumi.Input[str]]=None, resource_arn: Optional[pulumi.Input[str]]=None, value: Optional[pulumi.Input[str]]=None, __props__=None):
    '\n        ## Import\n\n        `aws_ecs_tag` can be imported by using the ECS resource identifier and key, separated by a comma (`,`), e.g.\n\n        ```sh\n         $ pulumi import aws:ecs/tag:Tag example arn:aws:ecs:us-east-1:123456789012:cluster/example,Name\n        ```\n\n        :param str resource_name: The name of the resource.\n        :param pulumi.ResourceOptions opts: Options for the resource.\n        :param pulumi.Input[str] key: Tag name.\n        :param pulumi.Input[str] resource_arn: Amazon Resource Name (ARN) of the ECS resource to tag.\n        :param pulumi.Input[str] value: Tag value.\n        '
    ...