AWS::DevOpsAgent::Association AWSResource - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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

AWS::DevOpsAgent::Association AWSResource

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

Syntax

To declare this entity in your 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

The type of AWS resource.

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

Required: No

Type: String

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

Update requires: No interruption