You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CognitoIdentityProvider::Types::CreateResourceServerRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::CreateResourceServerRequest
- Defined in:
- (unknown)
Overview
Note:
When passing CreateResourceServerRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
user_pool_id: "UserPoolIdType", # required
identifier: "ResourceServerIdentifierType", # required
name: "ResourceServerNameType", # required
scopes: [
{
scope_name: "ResourceServerScopeNameType", # required
scope_description: "ResourceServerScopeDescriptionType", # required
},
],
}
Instance Attribute Summary collapse
-
#identifier ⇒ String
A unique resource server identifier for the resource server.
-
#name ⇒ String
A friendly name for the resource server.
-
#scopes ⇒ Array<Types::ResourceServerScopeType>
A list of scopes.
-
#user_pool_id ⇒ String
The user pool ID for the user pool.
Instance Attribute Details
#identifier ⇒ String
A unique resource server identifier for the resource server. This could
be an HTTPS endpoint where the resource server is located. For example,
https://my-weather-api.example.com
.
#name ⇒ String
A friendly name for the resource server.
#scopes ⇒ Array<Types::ResourceServerScopeType>
A list of scopes. Each scope is map, where the keys are name
and
description
.
#user_pool_id ⇒ String
The user pool ID for the user pool.