Class: Aws::CognitoIdentityProvider::Types::ResourceServerScopeType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

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.

This data type is a request parameter of CreateResourceServer and a response parameter of DescribeResourceServer.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#scope_descriptionString

A friendly description of a custom scope.

Returns:

  • (String)

9058
9059
9060
9061
9062
9063
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 9058

class ResourceServerScopeType < Struct.new(
  :scope_name,
  :scope_description)
  SENSITIVE = []
  include Aws::Structure
end

#scope_nameString

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.

Returns:

  • (String)

9058
9059
9060
9061
9062
9063
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 9058

class ResourceServerScopeType < Struct.new(
  :scope_name,
  :scope_description)
  SENSITIVE = []
  include Aws::Structure
end