paws.security.identity (version 0.1.0)

cognitoidentityprovider_create_resource_server: Creates a new OAuth2

Description

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

Usage

cognitoidentityprovider_create_resource_server(UserPoolId, Identifier,
  Name, Scopes)

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. For example, https://my-weather-api.example.com.

Name

[required] A friendly name for the resource server.

Scopes

A list of scopes. Each scope is map, where the keys are name and description.

Request syntax

svc$create_resource_server(
  UserPoolId = "string",
  Identifier = "string",
  Name = "string",
  Scopes = list(
    list(
      ScopeName = "string",
      ScopeDescription = "string"
    )
  )
)