paws.security.identity (version 0.5.0)

cognitoidentityprovider_create_resource_server: Creates a new OAuth2

Description

Creates a new OAuth2.0 resource server and defines custom scopes within it.

See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_create_resource_server/ for full documentation.

Usage

cognitoidentityprovider_create_resource_server(
  UserPoolId,
  Identifier,
  Name,
  Scopes = NULL
)

Arguments

UserPoolId

[required] The user pool ID for the user pool.

Identifier

[required] A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located, such as https://my-weather-api.example.com.

Name

[required] A friendly name for the resource server.

Scopes

A list of scopes. Each scope is a key-value map with the keys name and description.