Class: Aws::CognitoIdentityProvider::Types::ResourceServerType
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::CognitoIdentityProvider::Types::ResourceServerType
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-cognitoidentityprovider/types.rb
 
Overview
The details of a resource server configuration and associated custom scopes in a user pool.
This data type is a request parameter of [CreateResourceServer] and a response parameter of [DescribeResourceServer].
[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateResourceServer.html [2]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeResourceServer.html
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #identifier  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A unique resource server identifier for the resource server.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the resource server.
 - 
  
    
      #scopes  ⇒ Array<Types::ResourceServerScopeType> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of scopes that are defined for the resource server.
 - 
  
    
      #user_pool_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the user pool that contains the resource server configuration.
 
Instance Attribute Details
#identifier ⇒ String
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.
      9102 9103 9104 9105 9106 9107 9108 9109  | 
    
      # File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9102 class ResourceServerType < Struct.new( :user_pool_id, :identifier, :name, :scopes) SENSITIVE = [] include Aws::Structure end  | 
  
#name ⇒ String
The name of the resource server.
      9102 9103 9104 9105 9106 9107 9108 9109  | 
    
      # File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9102 class ResourceServerType < Struct.new( :user_pool_id, :identifier, :name, :scopes) SENSITIVE = [] include Aws::Structure end  | 
  
#scopes ⇒ Array<Types::ResourceServerScopeType>
A list of scopes that are defined for the resource server.
      9102 9103 9104 9105 9106 9107 9108 9109  | 
    
      # File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9102 class ResourceServerType < Struct.new( :user_pool_id, :identifier, :name, :scopes) SENSITIVE = [] include Aws::Structure end  | 
  
#user_pool_id ⇒ String
The ID of the user pool that contains the resource server configuration.
      9102 9103 9104 9105 9106 9107 9108 9109  | 
    
      # File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9102 class ResourceServerType < Struct.new( :user_pool_id, :identifier, :name, :scopes) SENSITIVE = [] include Aws::Structure end  |