UserPoolResourceServerOptions

class aws_cdk.aws_cognito.UserPoolResourceServerOptions(*, identifier, scopes=None, user_pool_resource_server_name=None)

Bases: object

Options to create a UserPoolResourceServer.

Parameters
  • identifier (str) – A unique resource server identifier for the resource server.

  • scopes (Optional[Sequence[ResourceServerScope]]) – Oauth scopes. Default: - No scopes will be added

  • user_pool_resource_server_name (Optional[str]) – A friendly name for the resource server. Default: - same as identifier

Attributes

identifier

A unique resource server identifier for the resource server.

Return type

str

scopes

Oauth scopes.

Default
  • No scopes will be added

Return type

Optional[List[ResourceServerScope]]

user_pool_resource_server_name

A friendly name for the resource server.

Default
  • same as identifier

Return type

Optional[str]