Skip to content

UserVpcAuthorizationProps

Properties for defining a UserVpcAuthorization.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pvtz-uservpcauthorization

Initializer

import ros_cdk_pvtz
ros_cdk_pvtz.UserVpcAuthorizationProps(
  authorized_user_id: typing.Union[str, IResolvable],
  auth_channel: typing.Union[str, IResolvable] = None,
  auth_code: typing.Union[str, IResolvable] = None,
  auth_type: typing.Union[str, IResolvable] = None,
  ignore_deletion_forbidden: typing.Union[bool, IResolvable] = None
)

Properties

Name Type Description
authorized_user_id typing.Union[str, ros_cdk_core.IResolvable] Property authorizedUserId: The account ID of the user who authorizes the resource.
auth_channel typing.Union[str, ros_cdk_core.IResolvable] Property authChannel: Authorization channel.
auth_code typing.Union[str, ros_cdk_core.IResolvable] Property authCode: Verification code, if AuthChannel takes "AUTH_CODE" or is empty, it is mandatory.
auth_type typing.Union[str, ros_cdk_core.IResolvable] Property authType: Authorization type.
ignore_deletion_forbidden typing.Union[bool, ros_cdk_core.IResolvable] Property ignoreDeletionForbidden: Whether to ignore following deletion forbidden errors when deleting:- UserAuth.DeleteForbidden.ZoneVpcExists.

authorized_user_idRequired

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

Property authorizedUserId: The account ID of the user who authorizes the resource.


auth_channelOptional

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

Property authChannel: Authorization channel.

Valid values: AUTH_CODE: Verification code authorization, to verify whether the verification code passed in by AuthCode is correct. RESOURCE_DIRECTORY: Resource directory authorization, verify whether the AuthorizedUserId and the current account have resource directory credit.When it is empty, it is the same as AUTH_CODE, that is, verification code authorization.


auth_codeOptional

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

Property authCode: Verification code, if AuthChannel takes "AUTH_CODE" or is empty, it is mandatory.


auth_typeOptional

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

Property authType: Authorization type.


ignore_deletion_forbiddenOptional

ignore_deletion_forbidden: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property ignoreDeletionForbidden: Whether to ignore following deletion forbidden errors when deleting:- UserAuth.DeleteForbidden.ZoneVpcExists.