Skip to content
v2.273.0

CfnResourceAssociationProps Struct Added in v2.273.0 ​

Properties for defining a CfnResourceAssociation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ram as ram } from 'aws-cdk-lib';
const cfnResourceAssociationProps: ram.CfnResourceAssociationProps = {
  resourceArn: 'resourceArn',
  resourceShareArn: 'resourceShareArn',
};

Properties ​

resourceArnstringresource_arnstrresourceArnStringResourceArnstringResourceArn*stringrequired#
Specifies the [Amazon Resource Name (ARN)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the resource to associate with the resource share.
resourceShareArnstringresource_share_arnstrresourceShareArnStringResourceShareArnstringResourceShareArn*stringrequired#
Specifies the [Amazon Resource Name (ARN)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the resource share.

Used as props by ​