Class: Aws::CognitoIdentityProvider::Types::CreateResourceServerRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#identifierString

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 `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.

Returns:

  • (String)


3009
3010
3011
3012
3013
3014
3015
3016
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3009

class CreateResourceServerRequest < Struct.new(
  :user_pool_id,
  :identifier,
  :name,
  :scopes)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A friendly name for the resource server.

Returns:

  • (String)


3009
3010
3011
3012
3013
3014
3015
3016
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3009

class CreateResourceServerRequest < Struct.new(
  :user_pool_id,
  :identifier,
  :name,
  :scopes)
  SENSITIVE = []
  include Aws::Structure
end

#scopesArray<Types::ResourceServerScopeType>

A list of scopes. Each scope is a key-value map with the keys ‘name` and `description`.

Returns:



3009
3010
3011
3012
3013
3014
3015
3016
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3009

class CreateResourceServerRequest < Struct.new(
  :user_pool_id,
  :identifier,
  :name,
  :scopes)
  SENSITIVE = []
  include Aws::Structure
end

#user_pool_idString

The user pool ID for the user pool.

Returns:

  • (String)


3009
3010
3011
3012
3013
3014
3015
3016
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 3009

class CreateResourceServerRequest < Struct.new(
  :user_pool_id,
  :identifier,
  :name,
  :scopes)
  SENSITIVE = []
  include Aws::Structure
end