CfnSourceAssociationProps

class aws_cdk.aws_ram.CfnSourceAssociationProps(*, resource_share_arn, source_id)

Bases: object

Properties for defining a CfnSourceAssociation.

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

  • source_id (str) – Specifies the ID of the source account to associate with the resource share.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-sourceassociation.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_source_association_props = ram.CfnSourceAssociationProps(
    resource_share_arn="resourceShareArn",
    source_id="sourceId"
)

Attributes

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

source_id

Specifies the ID of the source account to associate with the resource share.

See:

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