UserVpcAuthorizationProps
Properties for defining a UserVpcAuthorization
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pvtz-uservpcauthorization
Initializer
import com.aliyun.ros.cdk.pvtz.UserVpcAuthorizationProps;
UserVpcAuthorizationProps.builder()
.authorizedUserId(java.lang.String)
.authorizedUserId(IResolvable)
// .authChannel(java.lang.String)
// .authChannel(IResolvable)
// .authCode(java.lang.String)
// .authCode(IResolvable)
// .authType(java.lang.String)
// .authType(IResolvable)
// .ignoreDeletionForbidden(java.lang.Boolean)
// .ignoreDeletionForbidden(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
authorizedUserId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property authorizedUserId: The account ID of the user who authorizes the resource. |
authChannel |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property authChannel: Authorization channel. |
authCode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property authCode: Verification code, if AuthChannel takes "AUTH_CODE" or is empty, it is mandatory. |
authType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property authType: Authorization type. |
ignoreDeletionForbidden |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property ignoreDeletionForbidden: Whether to ignore following deletion forbidden errors when deleting:- UserAuth.DeleteForbidden.ZoneVpcExists. |
authorizedUserId
Required
public java.lang.Object getAuthorizedUserId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property authorizedUserId: The account ID of the user who authorizes the resource.
authChannel
Optional
public java.lang.Object getAuthChannel();
- Type: java.lang.String OR com.aliyun.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.
authCode
Optional
public java.lang.Object getAuthCode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property authCode: Verification code, if AuthChannel takes "AUTH_CODE" or is empty, it is mandatory.
authType
Optional
public java.lang.Object getAuthType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property authType: Authorization type.
ignoreDeletionForbidden
Optional
public java.lang.Object getIgnoreDeletionForbidden();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property ignoreDeletionForbidden: Whether to ignore following deletion forbidden errors when deleting:- UserAuth.DeleteForbidden.ZoneVpcExists.