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
show all
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

Instance Attribute Details

#identifierString

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.

Returns:

  • (String)

    A unique resource server identifier for the resource server.

#nameString

A friendly name for the resource server.

Returns:

  • (String)

    A friendly name for the resource server.

#scopesArray<Types::ResourceServerScopeType>

A list of scopes. Each scope is map, where the keys are name and description.

Returns:

#user_pool_idString

The user pool ID for the user pool.

Returns:

  • (String)

    The user pool ID for the user pool.