Skip to content

ResourceShareProps

Properties for defining a ResourceShare.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkresourcemanager"
&alicloudroscdkresourcemanager.ResourceShareProps {
    ResourceShareName: interface{},
    AllowExternalTargets: interface{},
    PermissionNames: interface{},
    Resources: interface{},
    Targets: interface{},
}

Properties

Name Type Description
ResourceShareName interface{} Property resourceShareName: The name of the resource share.
AllowExternalTargets interface{} Property allowExternalTargets: Whether to allow sharing to accounts outside the resource directory.
PermissionNames interface{} Property permissionNames: Sharing permission name.
Resources interface{} Property resources:.
Targets interface{} Property targets: The shared target.

ResourceShareNameRequired

ResourceShareName interface{}
  • Type: interface{}

Property resourceShareName: The name of the resource share.

The name must be 1 to 50 characters in length. It can contain letters, digits, periods (.), underscores (_), and hyphens (-).


AllowExternalTargetsOptional

AllowExternalTargets interface{}
  • Type: interface{}

Property allowExternalTargets: Whether to allow sharing to accounts outside the resource directory.

Value: false (default): Only allow sharing within the resource directory. true: Allow sharing to any account.


PermissionNamesOptional

PermissionNames interface{}
  • Type: interface{}

Property permissionNames: Sharing permission name.

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


ResourcesOptional

Resources interface{}
  • Type: interface{}

Property resources:.


TargetsOptional

Targets interface{}
  • Type: interface{}

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.