tag_resource
(**kwargs)¶Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource that you want to update tags for.
It must be the ARN of an App Runner resource.
[REQUIRED]
A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.
Describes a tag that is applied to an App Runner resource. A tag is a metadata item consisting of a key-value pair.
The key of the tag.
The value of the tag.
dict
Response Syntax
{}
Response Structure
Exceptions
AppRunner.Client.exceptions.ResourceNotFoundException
AppRunner.Client.exceptions.InternalServiceErrorException
AppRunner.Client.exceptions.InvalidRequestException
AppRunner.Client.exceptions.InvalidStateException