Skip to content
v2.274.0

CfnPrincipalAssociationProps Struct ​

Properties for defining a CfnPrincipalAssociation.

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 ​

principalstringprincipalstrprincipalStringPrincipalstringPrincipal*stringrequired#
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

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.