Skip to content

CrossAccountProps

Properties for defining a CrossAccount.

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

Initializer

import ros_cdk_hbr
ros_cdk_hbr.CrossAccountProps(
  alias: typing.Union[str, IResolvable] = None,
  cross_account_role_name: typing.Union[str, IResolvable] = None,
  cross_account_type: typing.Union[str, IResolvable] = None,
  cross_account_user_id: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
alias typing.Union[str, ros_cdk_core.IResolvable] Property alias: The alias.
cross_account_role_name typing.Union[str, ros_cdk_core.IResolvable] Property crossAccountRoleName: The name of the RAM role for the account to back up.
cross_account_type typing.Union[str, ros_cdk_core.IResolvable] Property crossAccountType: The type of the cross-account authorization.
cross_account_user_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property crossAccountUserId: The user ID of the account that you want to authorize to back up data in your account.

aliasOptional

alias: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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.


cross_account_role_nameOptional

cross_account_role_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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.


cross_account_typeOptional

cross_account_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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

Valid values: CROSS_ACCOUNT, CROSS_ACCOUNT_BY_RD.


cross_account_user_idOptional

cross_account_user_id: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

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