ResourceServerType
¶
Source code in docs_src/capo_cognito_identity_provider/types/resource_server_type.py
identifier
instance-attribute
¶
identifier: NotRequired[ResourceServerIdentifierType]
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 https://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.
name
instance-attribute
¶
name: NotRequired[ResourceServerNameType]
The name of the resource server.
scopes
instance-attribute
¶
scopes: NotRequired[ResourceServerScopeListType]
A list of scopes that are defined for the resource server.
user_pool_id
instance-attribute
¶
user_pool_id: NotRequired[UserPoolIdType]
The ID of the user pool that contains the resource server configuration.