Skip to content

UserVpcAuthorizationProps

Properties for defining a UserVpcAuthorization.

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

Initializer

import { UserVpcAuthorizationProps } from '@alicloud/ros-cdk-pvtz'
const userVpcAuthorizationProps: UserVpcAuthorizationProps = { ... }

Properties

Name Type Description
authorizedUserId string | @alicloud/ros-cdk-core.IResolvable Property authorizedUserId: The account ID of the user who authorizes the resource.
authChannel string | @alicloud/ros-cdk-core.IResolvable Property authChannel: Authorization channel.
authCode string | @alicloud/ros-cdk-core.IResolvable Property authCode: Verification code, if AuthChannel takes "AUTH_CODE" or is empty, it is mandatory.
authType string | @alicloud/ros-cdk-core.IResolvable Property authType: Authorization type.
ignoreDeletionForbidden boolean | @alicloud/ros-cdk-core.IResolvable Property ignoreDeletionForbidden: Whether to ignore following deletion forbidden errors when deleting:- UserAuth.DeleteForbidden.ZoneVpcExists.

authorizedUserIdRequired

public readonly authorizedUserId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


authChannelOptional

public readonly authChannel: string | IResolvable;
  • Type: string | @alicloud/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.


authCodeOptional

public readonly authCode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


authTypeOptional

public readonly authType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property authType: Authorization type.


ignoreDeletionForbiddenOptional

public readonly ignoreDeletionForbidden: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

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