# AWSResourceProperty

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

- Source: Generated code
- Type last changed: v2.232.0 · 5 Dec 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';

declare const resourceMetadata: any;
const aWSResourceProperty: devopsagent.CfnAssociation.AWSResourceProperty = {
  resourceArn: 'resourceArn',

  // the properties below are optional
  resourceMetadata: resourceMetadata,
  resourceType: 'resourceType',
};
```

## Properties

- `resourceArn`: string (required) — The Amazon Resource Name (ARN) of the resource.

- `resourceMetadata`: any — 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.

- `resourceType`: string — Resource type.
