Skip to content

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.

ApiIdsRequired

ApiIds interface{}
  • Type: interface{}

Property apiIds: APIs to authorize.


AppIdsRequired

AppIds interface{}
  • Type: interface{}

Property appIds: APPs are authorized to APIs.


GroupIdRequired

GroupId interface{}
  • Type: interface{}

Property groupId: The id of the group.


StageNameRequired

StageName interface{}
  • Type: interface{}

Property stageName: Authorize in this stage.


AuthValidTimeOptional

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


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: Description of the authorization, less than 180 characters.