AuthorizationProps
Properties for defining a Authorization
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-authorization
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapigateway"
&alicloudroscdkapigateway.AuthorizationProps {
ApiIds: interface{},
AppIds: interface{},
GroupId: interface{},
StageName: interface{},
AuthValidTime: interface{},
Description: interface{},
}
Properties
Name | Type | Description |
---|---|---|
ApiIds |
interface{} |
Property apiIds: APIs to authorize. |
AppIds |
interface{} |
Property appIds: APPs are authorized to APIs. |
GroupId |
interface{} |
Property groupId: The id of the group. |
StageName |
interface{} |
Property stageName: Authorize in this stage. |
AuthValidTime |
interface{} |
Property authValidTime: The time (UTC) when the authorization expires. |
Description |
interface{} |
Property description: Description of the authorization, less than 180 characters. |
ApiIds
Required
ApiIds interface{}
- Type: interface{}
Property apiIds: APIs to authorize.
AppIds
Required
AppIds interface{}
- Type: interface{}
Property appIds: APPs are authorized to APIs.
GroupId
Required
GroupId interface{}
- Type: interface{}
Property groupId: The id of the group.
StageName
Required
StageName interface{}
- Type: interface{}
Property stageName: Authorize in this stage.
AuthValidTime
Optional
AuthValidTime interface{}
- Type: interface{}
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
Description interface{}
- Type: interface{}
Property description: Description of the authorization, less than 180 characters.