# CfnPermissionAssociationProps

Properties for defining a `CfnPermissionAssociation`.

Extends: CfnPermissionAssociationProps
Used as props by: CfnPermissionAssociation

- 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 cfnPermissionAssociationProps: ram.CfnPermissionAssociationProps = {
  permissionArn: 'permissionArn',
  resourceShareArn: 'resourceShareArn',

  // the properties below are optional
  replace: false,
};
```

## Properties

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

- `replace`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = false — Specifies whether to replace the existing permission on the resource share.

  Use `true` to replace the current permission. Use `false` to add the permission when no permission is currently associated. The default value is `false`. Updating an existing association also requires `true`, because AWS RAM applies the change by re-associating the permission.

- `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.
