tag_resource
(**kwargs)¶Apply cost-allocation tags to a specified stack or layer in AWS OpsWorks Stacks. For more information about how tagging works, see Tags in the AWS OpsWorks User Guide.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags={
'string': 'string'
}
)
[REQUIRED]
The stack or layer's Amazon Resource Number (ARN).
[REQUIRED]
A map that contains tag keys and tag values that are attached to a stack or layer.
+ - = . _ : /
+ - = . _ : /
None
Exceptions
OpsWorks.Client.exceptions.ValidationException
OpsWorks.Client.exceptions.ResourceNotFoundException