Creates a new OAuth2.0 resource server and defines custom scopes in it.
cognitoidentityprovider_create_resource_server(UserPoolId, Identifier,
Name, Scopes)
A list with the following syntax:
list(
ResourceServer = list(
UserPoolId = "string",
Identifier = "string",
Name = "string",
Scopes = list(
list(
ScopeName = "string",
ScopeDescription = "string"
)
)
)
)
[required] The user pool ID for the user pool.
[required] A unique resource server identifier for the resource server. This could
be an HTTPS endpoint where the resource server is located. For example,
https://my-weather-api.example.com
.
[required] A friendly name for the resource server.
A list of scopes. Each scope is map, where the keys are name
and
description
.
svc$create_resource_server(
UserPoolId = "string",
Identifier = "string",
Name = "string",
Scopes = list(
list(
ScopeName = "string",
ScopeDescription = "string"
)
)
)