AuthorizationProps
Properties for defining a Authorization
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-authorization
Initializer
import { AuthorizationProps } from '@alicloud/ros-cdk-apigateway'
const authorizationProps: AuthorizationProps = { ... }
Properties
Name | Type | Description |
---|---|---|
apiIds |
any[] | @alicloud/ros-cdk-core.IResolvable |
Property apiIds: APIs to authorize. |
appIds |
any[] | @alicloud/ros-cdk-core.IResolvable |
Property appIds: APPs are authorized to APIs. |
groupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property groupId: The id of the group. |
stageName |
string | @alicloud/ros-cdk-core.IResolvable |
Property stageName: Authorize in this stage. |
authValidTime |
string | @alicloud/ros-cdk-core.IResolvable |
Property authValidTime: The time (UTC) when the authorization expires. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: Description of the authorization, less than 180 characters. |
apiIds
Required
public readonly apiIds: any[] | IResolvable;
- Type: any[] | @alicloud/ros-cdk-core.IResolvable
Property apiIds: APIs to authorize.
appIds
Required
public readonly appIds: any[] | IResolvable;
- Type: any[] | @alicloud/ros-cdk-core.IResolvable
Property appIds: APPs are authorized to APIs.
groupId
Required
public readonly groupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property groupId: The id of the group.
stageName
Required
public readonly stageName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property stageName: Authorize in this stage.
authValidTime
Optional
public readonly authValidTime: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property authValidTime: The time (UTC) when the authorization expires.
If this parameter is empty, the authorization does not expire. Pattern: YYYY-MM-DDThh:mm:ssZ
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: Description of the authorization, less than 180 characters.