CfnPrincipalAssociationMixinProps

class aws_cdk.cfn_property_mixins.aws_ram.CfnPrincipalAssociationMixinProps(*, principal=None, resource_share_arn=None)

Bases: object

Properties for CfnPrincipalAssociationPropsMixin.

Parameters:
  • principal (Optional[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 (Optional[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.cfn_property_mixins import aws_ram as ram

cfn_principal_association_mixin_props = ram.CfnPrincipalAssociationMixinProps(
    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