ResourceShareAssociationProps
Properties for defining a ResourceShareAssociation
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-resourceshareassociation
Initializer
import { ResourceShareAssociationProps } from '@alicloud/ros-cdk-resourcemanager'
const resourceShareAssociationProps: ResourceShareAssociationProps = { ... }
Properties
Name | Type | Description |
---|---|---|
resourceShareId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceShareId: The ID of the resource share. |
permissionNames |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property permissionNames: Sharing permission name. |
resources |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ResourcesProperty[] |
Property resources:. |
targets |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property targets: The shared target. |
resourceShareId
Required
public readonly resourceShareId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceShareId: The ID of the resource share.
permissionNames
Optional
public readonly permissionNames: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property permissionNames: Sharing permission name.
When empty, the system automatically binds the default permissions associated with the resource type.
resources
Optional
public readonly resources: IResolvable | IResolvable | ResourcesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ResourcesProperty[]
Property resources:.
targets
Optional
public readonly targets: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/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.