UserPoolResourceServerArgs

data class UserPoolResourceServerArgs(val identifier: Output<String>? = null, val name: Output<String>? = null, val scopes: Output<List<UserPoolResourceServerResourceServerScopeTypeArgs>>? = null, val userPoolId: Output<String>? = null) : ConvertibleToJava<UserPoolResourceServerArgs>

Resource Type definition for AWS::Cognito::UserPoolResourceServer

Constructors

Link copied to clipboard
constructor(identifier: Output<String>? = null, name: Output<String>? = null, scopes: Output<List<UserPoolResourceServerResourceServerScopeTypeArgs>>? = null, userPoolId: Output<String>? = null)

Properties

Link copied to clipboard
val identifier: Output<String>? = null

A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data . You can also set an API URL like https://solar-system-data-api.example.com as your identifier. Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope . Longer scope-identifier strings increase the size of your access tokens.

Link copied to clipboard
val name: Output<String>? = null

A friendly name for the resource server.

Link copied to clipboard

A list of scopes. Each scope is a map with keys ScopeName and ScopeDescription .

Link copied to clipboard
val userPoolId: Output<String>? = null

The ID of the user pool where you want to create a resource server.

Functions

Link copied to clipboard
open override fun toJava(): UserPoolResourceServerArgs