Defines a User Pool OAuth2.0 Resource Server.
import { UserPoolResourceServer } from 'aws-cdk-lib/aws-cognito';Or use the module namespace:
import * as cognito from 'aws-cdk-lib/aws-cognito';
// cognito.UserPoolResourceServerConfiguration passed to the constructor as UserPoolResourceServerProps.
userPoolRequiredIUserPoolRefThe user pool to add this resource server to.
UserPoolResourceServerOptionsidentifierRequiredinherited from UserPoolResourceServerOptionsstringA unique resource server identifier for the resource server.
scopesOptionalinherited from UserPoolResourceServerOptionsResourceServerScope[]Oauth scopes.
Default: - No scopes will be added
userPoolResourceServerNameOptionalinherited from UserPoolResourceServerOptionsstringA friendly name for the resource server.
Default: - same as `identifier`
Everything you need to know about Amazon Cognito on one page. HD quality, print-friendly.
Download Free Infographicaws-cognito