interface CfnUserPoolResourceServerProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Cognito.CfnUserPoolResourceServerProps |
Java | software.amazon.awscdk.services.cognito.CfnUserPoolResourceServerProps |
Python | aws_cdk.aws_cognito.CfnUserPoolResourceServerProps |
TypeScript | @aws-cdk/aws-cognito » CfnUserPoolResourceServerProps |
Properties for defining a CfnUserPoolResourceServer.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cognito from '@aws-cdk/aws-cognito';
const cfnUserPoolResourceServerProps: cognito.CfnUserPoolResourceServerProps = {
identifier: 'identifier',
name: 'name',
userPoolId: 'userPoolId',
// the properties below are optional
scopes: [{
scopeDescription: 'scopeDescription',
scopeName: 'scopeName',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| identifier | string | A unique resource server identifier for the resource server. |
| name | string | A friendly name for the resource server. |
| user | string | The user pool ID for the user pool. |
| scopes? | IResolvable | IResolvable | Resource[] | A list of scopes. |
identifier
Type:
string
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 .
name
Type:
string
A friendly name for the resource server.
userPoolId
Type:
string
The user pool ID for the user pool.
scopes?
Type:
IResolvable | IResolvable | Resource[]
(optional)
A list of scopes.
Each scope is a map with keys ScopeName and ScopeDescription .

.NET
Java
Python
TypeScript