interface AWSResourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DevOpsAgent.Mixins.CfnAssociationPropsMixin.AWSResourceProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdevopsagent/mixins#CfnAssociationPropsMixin_AWSResourceProperty |
Java | software.amazon.awscdk.mixins.preview.services.devopsagent.mixins.CfnAssociationPropsMixin.AWSResourceProperty |
Python | aws_cdk.mixins_preview.aws_devopsagent.mixins.CfnAssociationPropsMixin.AWSResourceProperty |
TypeScript | @aws-cdk/mixins-preview » aws_devopsagent » mixins » CfnAssociationPropsMixin » AWSResourceProperty |
Defines an AWS resource to be monitored, including its type, ARN, and optional metadata.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as devopsagent_mixins } from '@aws-cdk/mixins-preview/aws-devopsagent';
declare const resourceMetadata: any;
const aWSResourceProperty: devopsagent_mixins.CfnAssociationPropsMixin.AWSResourceProperty = {
resourceArn: 'resourceArn',
resourceMetadata: resourceMetadata,
resourceType: 'resourceType',
};
Properties
| Name | Type | Description |
|---|---|---|
| resource | string | The Amazon Resource Name (ARN) of the resource. |
| resource | any | Additional metadata specific to the resource. |
| resource | string | Resource type. |
resourceArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the resource.
resourceMetadata?
Type:
any
(optional)
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?
Type:
string
(optional)
Resource type.

.NET
Go
Java
Python
TypeScript