View source: R/resourcegroups_operations.R
| resourcegroups_start_tag_sync_task | R Documentation |
Creates a new tag-sync task to onboard and sync resources tagged with a specific tag key-value pair to an application. To start a tag-sync task, you need a resource tagging role. The resource tagging role grants permissions to tag and untag applications resources and must include a trust policy that allows Resource Groups to assume the role and perform resource tagging tasks on your behalf.
See https://www.paws-r-sdk.com/docs/resourcegroups_start_tag_sync_task/ for full documentation.
resourcegroups_start_tag_sync_task(
Group,
TagKey = NULL,
TagValue = NULL,
ResourceQuery = NULL,
RoleArn
)
Group |
[required] The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task. |
TagKey |
The tag key. Resources tagged with this tag key-value pair will be added to the application. If a resource with this tag is later untagged, the tag-sync task removes the resource from the application. When using the |
TagValue |
The tag value. Resources tagged with this tag key-value pair will be added to the application. If a resource with this tag is later untagged, the tag-sync task removes the resource from the application. When using the |
ResourceQuery |
The query you can use to create the tag-sync task. With this method, all resources matching the query are added to the specified application group. A When using the When you combine all of the elements together into a single string, any double quotes that are embedded inside another double quote pair must be escaped by preceding the embedded double quote with a backslash character (\). For example, a complete
In the preceding example, all of the double quote characters in the value part of the For the complete list of resource types that you can use in the array value for
|
RoleArn |
[required] The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.