CfnPrincipalAssociationProps
- class aws_cdk.aws_ram.CfnPrincipalAssociationProps(*, principal, resource_share_arn)
Bases:
objectProperties for defining a
CfnPrincipalAssociation.- Parameters:
principal (
str) – 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 userresource_share_arn (
str) – Specifies the Amazon Resource Name (ARN) of the resource share.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ram as ram cfn_principal_association_props = ram.CfnPrincipalAssociationProps( principal="principal", resource_share_arn="resourceShareArn" )
Attributes
- principal
.
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
- See:
- Type:
Specifies the principal to associate with the resource share. The possible values are