CfnPermissionAssociationMixinProps

class aws_cdk.cfn_property_mixins.aws_ram.CfnPermissionAssociationMixinProps(*, permission_arn=None, replace=None, resource_share_arn=None)

Bases: object

Properties for CfnPermissionAssociationPropsMixin.

Parameters:
  • permission_arn (Optional[str]) – Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.

  • replace (Union[bool, IResolvable, None]) – Specifies whether to replace the existing permission on the resource share. Use true to replace the current permission. Use false to add the permission when no permission is currently associated. The default value is false. Updating an existing association also requires true, because AWS RAM applies the change by re-associating the permission. Default: - false

  • 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-permissionassociation.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_permission_association_mixin_props = ram.CfnPermissionAssociationMixinProps(
    permission_arn="permissionArn",
    replace=False,
    resource_share_arn="resourceShareArn"
)

Attributes

permission_arn

Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.

See:

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

replace

Specifies whether to replace the existing permission on the resource share.

Use true to replace the current permission. Use false to add the permission when no permission is currently associated. The default value is false. Updating an existing association also requires true, because AWS RAM applies the change by re-associating the permission.

Default:
  • false

See:

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

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-permissionassociation.html#cfn-ram-permissionassociation-resourcesharearn