# CfnPrincipalAssociationProps

Properties for defining a `CfnPrincipalAssociation`.

Extends: CfnPrincipalAssociationProps
Used as props by: CfnPrincipalAssociation

- 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 cfnPrincipalAssociationProps: ram.CfnPrincipalAssociationProps = {
  principal: 'principal',
  resourceShareArn: 'resourceShareArn',
};
```

## Properties

- `principal`: string (required) — Specifies the principal to associate with the resource share. The possible values are:.

  - An AWS account ID

  - An Amazon Resource Name (ARN) of an organization in AWS Organizations

  - An ARN of an organizational unit (OU) in AWS Organizations

  - An ARN of an IAM role

  - An ARN of an IAM user

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