interface CfnPrincipalAssociationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.RAM.CfnPrincipalAssociationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsram#CfnPrincipalAssociationProps |
Java | software.amazon.awscdk.services.ram.CfnPrincipalAssociationProps |
Python | aws_cdk.aws_ram.CfnPrincipalAssociationProps |
TypeScript | aws-cdk-lib » aws_ram » CfnPrincipalAssociationProps |
Properties for defining a CfnPrincipalAssociation.
Example
// 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
| Name | Type | Description |
|---|---|---|
| principal | string | Specifies the principal to associate with the resource share. The possible values are:. |
| resource | string | Specifies the Amazon Resource Name (ARN) of the resource share. |
principal
Type:
string
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
Type:
string
Specifies the Amazon Resource Name (ARN) of the resource share.

.NET
Go
Java
Python
TypeScript