ControlTower / Client / tag_resource

tag_resource#

ControlTower.Client.tag_resource(**kwargs)#

Applies tags to a resource. For usage examples, see the Amazon Web Services Control Tower User Guide.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    resourceArn='string',
    tags={
        'string': 'string'
    }
)
Parameters:
  • resourceArn (string) –

    [REQUIRED]

    The ARN of the resource to be tagged.

  • tags (dict) –

    [REQUIRED]

    Tags to be applied to the resource.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions