CfnResourceShareProps

class aws_cdk.aws_ram.CfnResourceShareProps(*, allow_external_principals=None, name, permission_arns=None, principals=None, resource_arns=None, tags=None)

Bases: object

Properties for defining a AWS::RAM::ResourceShare.

Parameters
  • allow_external_principals (Union[bool, IResolvable, None]) – AWS::RAM::ResourceShare.AllowExternalPrincipals.

  • name (str) – AWS::RAM::ResourceShare.Name.

  • permission_arns (Optional[Sequence[str]]) – AWS::RAM::ResourceShare.PermissionArns.

  • principals (Optional[Sequence[str]]) – AWS::RAM::ResourceShare.Principals.

  • resource_arns (Optional[Sequence[str]]) – AWS::RAM::ResourceShare.ResourceArns.

  • tags (Optional[Sequence[CfnTag]]) – AWS::RAM::ResourceShare.Tags.

Link

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

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ram as ram

cfn_resource_share_props = ram.CfnResourceShareProps(
    name="name",

    # the properties below are optional
    allow_external_principals=False,
    permission_arns=["permissionArns"],
    principals=["principals"],
    resource_arns=["resourceArns"],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

allow_external_principals

AWS::RAM::ResourceShare.AllowExternalPrincipals.

Link

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

Return type

Union[bool, IResolvable, None]

name

AWS::RAM::ResourceShare.Name.

Link

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

Return type

str

permission_arns

AWS::RAM::ResourceShare.PermissionArns.

Link

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

Return type

Optional[List[str]]

principals

AWS::RAM::ResourceShare.Principals.

Link

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

Return type

Optional[List[str]]

resource_arns

AWS::RAM::ResourceShare.ResourceArns.

Link

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

Return type

Optional[List[str]]

tags

AWS::RAM::ResourceShare.Tags.

Link

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

Return type

Optional[List[CfnTag]]