AWS::DevOpsAgent::Association AWSResource - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::DevOpsAgent::Association AWSResource

Defines an Amazon resource to be monitored, including its type, ARN, and optional metadata.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "ResourceArn" : String, "ResourceMetadata" : Json, "ResourceType" : String }

YAML

ResourceArn: String ResourceMetadata: Json ResourceType: String

Properties

ResourceArn

The Amazon Resource Name (ARN) of the resource.

Required: Yes

Type: String

Update requires: No interruption

ResourceMetadata

Additional metadata specific to the resource. This is an optional JSON object that can include resource-specific information to provide additional context for monitoring and management.

Required: No

Type: Json

Update requires: No interruption

ResourceType

Resource type.

Required: No

Type: String

Allowed values: AWS::CloudFormation::Stack | AWS::ECR::Repository | AWS::S3::Bucket | AWS::S3::Object

Update requires: No interruption