ALIYUN::RAM::Application is used to create an application.
Syntax
{
"Type": "ALIYUN::RAM::Application",
"Properties": {
"PredefinedScopes": List,
"SecretRequired": Boolean,
"DisplayName": String,
"IsMultiTenant": Boolean,
"AccessTokenValidity": Integer,
"RedirectUris": List,
"RefreshTokenValidity": Integer,
"AppType": String,
"AppName": String,
"RequiredScopes": List
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
PredefinedScopes | List | No | Yes | The permission scopes of the application. | For more information about the valid values and description of the permission scopes, see Overview. You can also call the ListPredefinedScopes operation to query the permission scopes that are supported by different types of applications. If you specify multiple permission scopes, separate them with semicolons (;). |
SecretRequired | Boolean | No | Yes | Specifies whether a secret is required. | Valid values:
Note
|
DisplayName | String | Yes | Yes | The display name of the application. | The display name can be up to 24 characters in length. |
IsMultiTenant | Boolean | No | Yes | Specifies whether the application can be installed by using other Alibaba Cloud accounts. | Valid values:
|
AccessTokenValidity | Integer | No | Yes | The validity period of the access token. | Valid values: 900 to 10800. Unit: seconds. Default value: 3600. |
RedirectUris | List | No | Yes | The callback URLs. | None |
RefreshTokenValidity | Integer | No | Yes | The validity period of the refreshed token. | Valid values: 7200 to 31536000. Unit: seconds. Default value:
|
AppType | String | Yes | No | The application type. | Valid values:
|
AppName | String | Yes | No | The application name. | The name can be up to 64 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). |
RequiredScopes | List | No | Yes | The required permissions. | You can specify one or more permissions by using the Note This property takes effect only when the permissions specified by |
Return values
Fn::GetAtt
AppId: the application ID.
AppName: the application name.