ALIYUN::ApiGateway::Authorization is used to authorize APIs to access applications.
Syntax
{
"Type": "ALIYUN::ApiGateway::Authorization",
"Properties": {
"ApiIds": List,
"AppIds": List,
"GroupId": String,
"StageName": String,
"Description": String,
"AuthValidTime": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
ApiIds | List | Yes | Yes | The IDs of the APIs. | You can specify up to 100 IDs. |
AppIds | List | Yes | Yes | The IDs of the applications. | Each ID is a GUID that is generated by the system. You can specify multiple IDs. |
GroupId | String | Yes | Yes | The ID of the API group. | Each ID is a GUID that is generated by the system. |
StageName | String | Yes | Yes | The environment name. | Valid values:
|
Description | String | No | Yes | The description of the authorization. | None. |
AuthValidTime | String | No | Yes | The time when the authorization expires. | The time must be in UTC. If you leave this property empty, the authorization does not expire. |
Return values
Fn::GetAtt
None.