UserPoolResourceServerProps

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

Bases: aws_cdk.aws_cognito.UserPoolResourceServerOptions

Properties for the UserPoolResourceServer construct.

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

  • user_pool (IUserPool) – The user pool to add this resource server to.

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

The user pool to add this resource server to.

Return type

IUserPool

user_pool_resource_server_name

A friendly name for the resource server.

Default
  • same as identifier

Return type

Optional[str]