@staticmethod
def get(resource_name: str, id: pulumi.Input[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) -> 'Tag':
    "\n        Get an existing Tag resource's state with the given name, id, and optional extra\n        properties used to qualify the lookup.\n\n        :param str resource_name: The unique name of the resulting resource.\n        :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.\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        "
    opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
    __props__ = _TagState.__new__(_TagState)
    __props__.__dict__['key'] = key
    __props__.__dict__['resource_arn'] = resource_arn
    __props__.__dict__['value'] = value
    return Tag(resource_name, opts=opts, __props__=__props__)
Get an existing Tag resource's state with the given name, id, and optional extra
properties used to qualify the lookup.

:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
: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.
@staticmethod
def get(resource_name: str, id: pulumi.Input[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) -> 'Tag':
    "\n        Get an existing Tag resource's state with the given name, id, and optional extra\n        properties used to qualify the lookup.\n\n        :param str resource_name: The unique name of the resulting resource.\n        :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.\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        "
    opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
    __props__ = _TagState.__new__(_TagState)
    __props__.__dict__['key'] = key
    __props__.__dict__['resource_arn'] = resource_arn
    __props__.__dict__['value'] = value
    return Tag(resource_name, opts=opts, __props__=__props__)