Skip to content

ResourceShareAssociationProps

Properties for defining a ResourceShareAssociation.

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

Initializer

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

Properties

Name Type Description
ResourceShareId interface{} Property resourceShareId: The ID of the resource share.
PermissionNames interface{} Property permissionNames: Sharing permission name.
Resources interface{} Property resources:.
Targets interface{} Property targets: The shared target.

ResourceShareIdRequired

ResourceShareId interface{}
  • Type: interface{}

Property resourceShareId: The ID of the resource share.


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.