Skip to content

ResourceShareAssociationProps

Properties for defining a ResourceShareAssociation.

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

Initializer

import com.aliyun.ros.cdk.resourcemanager.ResourceShareAssociationProps;
ResourceShareAssociationProps.builder()
    .resourceShareId(java.lang.String)
    .resourceShareId(IResolvable)
//  .permissionNames(IResolvable)
//  .permissionNames(java.util.List<java.lang.String)
//  .permissionNames(IResolvable>)
//  .resources(IResolvable)
//  .resources(java.util.List<IResolvable)
//  .resources(ResourcesProperty>)
//  .targets(IResolvable)
//  .targets(java.util.List<java.lang.String)
//  .targets(IResolvable>)
    .build();

Properties

Name Type Description
resourceShareId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceShareId: The ID of the resource share.
permissionNames com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property permissionNames: Sharing permission name.
resources com.aliyun.ros.cdk.core.IResolvable OR java.util.ListResourcesProperty> Property resources:.
targets com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property targets: The shared target.

resourceShareIdRequired

public java.lang.Object getResourceShareId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceShareId: The ID of the resource share.


permissionNamesOptional

public java.lang.Object getPermissionNames();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property permissionNames: Sharing permission name.

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


resourcesOptional

public java.lang.Object getResources();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListResourcesProperty>

Property resources:.


targetsOptional

public java.lang.Object getTargets();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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.