interface AWSResourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.DevOpsAgent.CfnAssociation.AWSResourceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdevopsagent#CfnAssociation_AWSResourceProperty |
Java | software.amazon.awscdk.services.devopsagent.CfnAssociation.AWSResourceProperty |
Python | aws_cdk.aws_devopsagent.CfnAssociation.AWSResourceProperty |
TypeScript | aws-cdk-lib » aws_devopsagent » CfnAssociation » AWSResourceProperty |
AWS resource definition.
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-lib';
declare const resourceMetadata: any;
const aWSResourceProperty: devopsagent.CfnAssociation.AWSResourceProperty = {
resourceArn: 'resourceArn',
// the properties below are optional
resourceMetadata: resourceMetadata,
resourceType: 'resourceType',
};
Properties
| Name | Type | Description |
|---|---|---|
| resource | string | The Amazon Resource Name (ARN) of the resource. |
| resource | any | Additional metadata for the resource. |
| resource | string | Resource type. |
resourceArn
Type:
string
The Amazon Resource Name (ARN) of the resource.
resourceMetadata?
Type:
any
(optional)
Additional metadata for the resource.
resourceType?
Type:
string
(optional)
Resource type.

.NET
Go
Java
Python
TypeScript