Skip to content

Sync Resource

appregistry_sync_resource R Documentation

Syncs the resource with current AppRegistry records

Description

Syncs the resource with current AppRegistry records.

Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the resource's AppRegistry system tags if it does not associate with the application. The caller must have permissions to read and update the resource.

Usage

appregistry_sync_resource(resourceType, resource)

Arguments

resourceType

[required] The type of resource of which the application will be associated.

resource

[required] An entity you can work with and specify with a name or ID. Examples include an Amazon EC2 instance, an Amazon Web Services CloudFormation stack, or an Amazon S3 bucket.

Value

A list with the following syntax:

list(
  applicationArn = "string",
  resourceArn = "string",
  actionTaken = "START_SYNC"|"NO_ACTION"
)

Request syntax

svc$sync_resource(
  resourceType = "CFN_STACK"|"RESOURCE_TAG_VALUE",
  resource = "string"
)