Skip to content

ResourceShareAssociationProps

Properties for defining a ResourceShareAssociation.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-resourceshareassociation

Initializer

import ros_cdk_resourcemanager
ros_cdk_resourcemanager.ResourceShareAssociationProps(
  resource_share_id: typing.Union[str, IResolvable],
  permission_names: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  resources: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ResourcesProperty]]] = None,
  targets: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None
)

Properties

Name Type Description
resource_share_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceShareId: The ID of the resource share.
permission_names typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property permissionNames: Sharing permission name.
resources typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ResourcesProperty]]] Property resources:.
targets typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property targets: The shared target.

resource_share_idRequired

resource_share_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceShareId: The ID of the resource share.


permission_namesOptional

permission_names: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property permissionNames: Sharing permission name.

When empty, the system automatically binds the default permissions associated with the resource type.


resourcesOptional

resources: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ResourcesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ResourcesProperty]]]

Property resources:.


targetsOptional

targets: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property targets: The shared target.

A shared target shares the resources of resource owners. You can share your resources only with the member accounts in your resource directory. A shared target is indicated by its account ID. For more information about how to obtain the ID, see View the basic information of a member account.