CfnPrincipalAssociationProps

class aws_cdk.aws_ram.CfnPrincipalAssociationProps(*, principal, resource_share_arn)

Bases: object

Properties 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 user

  • resource_share_arn (str) – Specifies the Amazon Resource Name (ARN) of the resource share.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-principalassociation.html

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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-principalassociation.html#cfn-ram-principalassociation-principal

Type:

Specifies the principal to associate with the resource share. The possible values are

resource_share_arn

Specifies the Amazon Resource Name (ARN) of the resource share.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-principalassociation.html#cfn-ram-principalassociation-resourcesharearn