interface AWSResourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent.CfnAssociationPropsMixin.AWSResourceProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsdevopsagent#CfnAssociationPropsMixin_AWSResourceProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnAssociationPropsMixin.AWSResourceProperty |
Python | aws_cdk.cfn_property_mixins.aws_devopsagent.CfnAssociationPropsMixin.AWSResourceProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_devopsagent » 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 { aws_devopsagent as devopsagent } from '@aws-cdk/cfn-property-mixins';
declare const resourceMetadata: any;
const aWSResourceProperty: devopsagent.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