AWS::Cognito::UserPoolResourceServer ResourceServerScopeType - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Cognito::UserPoolResourceServer ResourceServerScopeType

One custom scope associated with a user pool resource server. This data type is a member of ResourceServerScopeType. For more information, see Scopes, M2M, and API authorization with resource servers.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "ScopeDescription" : String, "ScopeName" : String }

YAML

ScopeDescription: String ScopeName: String

Properties

ScopeDescription

A friendly description of a custom scope.

Required: Yes

Type: String

Minimum: 1

Maximum: 256

Update requires: No interruption

ScopeName

The name of the scope. Amazon Cognito renders custom scopes in the format resourceServerIdentifier/ScopeName. For example, if this parameter is exampleScope in the resource server with the identifier exampleResourceServer, you request and receive the scope exampleResourceServer/exampleScope.

Required: Yes

Type: String

Pattern: [\x21\x23-\x2E\x30-\x5B\x5D-\x7E]+

Minimum: 1

Maximum: 256

Update requires: No interruption