Skip to content

CrossAccountProps

Properties for defining a CrossAccount.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbr-crossaccount

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkhbr"
&alicloudroscdkhbr.CrossAccountProps {
    Alias: interface{},
    CrossAccountRoleName: interface{},
    CrossAccountType: interface{},
    CrossAccountUserId: interface{},
}

Properties

Name Type Description
Alias interface{} Property alias: The alias.
CrossAccountRoleName interface{} Property crossAccountRoleName: The name of the RAM role for the account to back up.
CrossAccountType interface{} Property crossAccountType: The type of the cross-account authorization.
CrossAccountUserId interface{} Property crossAccountUserId: The user ID of the account that you want to authorize to back up data in your account.

AliasOptional

Alias interface{}
  • Type: interface{}

Property alias: The alias.

The maximum length is 32 characters. This parameter is not required for cross-account backups that are configured based on a resource directory.


CrossAccountRoleNameOptional

CrossAccountRoleName interface{}
  • Type: interface{}

Property crossAccountRoleName: The name of the RAM role for the account to back up.

This parameter is used when you configure a cross-account backup by assuming a RAM role.


CrossAccountTypeOptional

CrossAccountType interface{}
  • Type: interface{}

Property crossAccountType: The type of the cross-account authorization.

Valid values: CROSS_ACCOUNT, CROSS_ACCOUNT_BY_RD.


CrossAccountUserIdOptional

CrossAccountUserId interface{}
  • Type: interface{}

Property crossAccountUserId: The user ID of the account that you want to authorize to back up data in your account.