# CfnResourceAssociationProps

Properties for defining a `CfnResourceAssociation`.

Extends: CfnResourceAssociationProps
Used as props by: CfnResourceAssociation

- Source: Generated code
- Type last changed: v2.273.0 · 8 Oct 2026

## 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

- `resourceArn`: string (required) — 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.

- `resourceShareArn`: string (required) — Specifies the [Amazon Resource Name (ARN)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the resource share.
