Skip to main content

tags

Creates, updates, deletes, gets or lists a tags resource.

Overview​

Nametags
TypeResource
Idaws.route53.tags

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
resource_idstringThe ID for the specified resource.
resource_typestringThe type of the resource. The resource type for health checks is healthcheck. The resource type for hosted zones is hostedzone.
tagsstringThe tags associated with the specified resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectresource_type, resource_id, regionLists tags for one health check or hosted zone. For information about using tags for cost allocation, see Using Cost Allocation Tags in the Billing and Cost Management User Guide.
list_tags_for_resourcesselectresource_type, regionLists tags for up to 10 health checks or hosted zones. For information about using tags for cost allocation, see Using Cost Allocation Tags in the Billing and Cost Management User Guide.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
resource_idstringThe ID of the resource for which you want to retrieve tags.
resource_typestringThe type of the resources. The resource type for health checks is healthcheck. The resource type for hosted zones is hostedzone.

SELECT examples​

Lists tags for one health check or hosted zone. For information about using tags for cost allocation, see Using Cost Allocation Tags in the Billing and Cost Management User Guide.

SELECT
resource_id,
resource_type,
tags
FROM aws.route53.tags
WHERE resource_type = '{{ resource_type }}' -- required
AND resource_id = '{{ resource_id }}' -- required
AND region = '{{ region }}' -- required
;