cognitoidentityprovider_create_resource_server: Creates a new OAuth2

Description Usage Arguments Request syntax

View source: R/cognitoidentityprovider_operations.R

Description

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

Usage

1
2
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
svc$create_resource_server(
  UserPoolId = "string",
  Identifier = "string",
  Name = "string",
  Scopes = list(
    list(
      ScopeName = "string",
      ScopeDescription = "string"
    )
  )
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.