interface ResourceServerScopeTypeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins.CfnUserPoolResourceServerPropsMixin.ResourceServerScopeTypeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscognito/mixins#CfnUserPoolResourceServerPropsMixin_ResourceServerScopeTypeProperty |
Java | software.amazon.awscdk.mixins.preview.services.cognito.mixins.CfnUserPoolResourceServerPropsMixin.ResourceServerScopeTypeProperty |
Python | aws_cdk.mixins_preview.aws_cognito.mixins.CfnUserPoolResourceServerPropsMixin.ResourceServerScopeTypeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cognito » mixins » CfnUserPoolResourceServerPropsMixin » ResourceServerScopeTypeProperty |
One custom scope associated with a user pool resource server.
This data type is a member of ResourceServerScopeType . For more information, see Scopes, M2M, and API authorization with resource servers .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cognito_mixins } from '@aws-cdk/mixins-preview/aws-cognito';
const resourceServerScopeTypeProperty: cognito_mixins.CfnUserPoolResourceServerPropsMixin.ResourceServerScopeTypeProperty = {
scopeDescription: 'scopeDescription',
scopeName: 'scopeName',
};
Properties
| Name | Type | Description |
|---|---|---|
| scope | string | A friendly description of a custom scope. |
| scope | string | The name of the scope. |
scopeDescription?
Type:
string
(optional)
A friendly description of a custom scope.
scopeName?
Type:
string
(optional)
The name of the scope.
Amazon Cognito renders custom scopes in the format resourceServerIdentifier/ScopeName . For example, if this parameter is exampleScope in the resource server with the identifier exampleResourceServer , you request and receive the scope exampleResourceServer/exampleScope .

.NET
Go
Java
Python
TypeScript