Class CfnUserPoolResourceServer.ResourceServerScopeTypeProperty
One custom scope associated with a user pool resource server.
Inheritance
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ResourceServerScopeTypeProperty : Object, CfnUserPoolResourceServer.IResourceServerScopeTypeProperty
Syntax (vb)
Public Class ResourceServerScopeTypeProperty
Inherits Object
Implements CfnUserPoolResourceServer.IResourceServerScopeTypeProperty
Remarks
This data type is a member of ResourceServerScopeType
. For more information, see Scopes, M2M, and API authorization with resource servers .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var resourceServerScopeTypeProperty = new ResourceServerScopeTypeProperty {
ScopeDescription = "scopeDescription",
ScopeName = "scopeName"
};
Synopsis
Constructors
Resource |
Properties
Scope |
A friendly description of a custom scope. |
Scope |
The name of the scope. |
Constructors
ResourceServerScopeTypeProperty()
public ResourceServerScopeTypeProperty()
Properties
ScopeDescription
A friendly description of a custom scope.
public string ScopeDescription { get; set; }
Property Value
System.
Remarks
ScopeName
The name of the scope.
public string ScopeName { get; set; }
Property Value
System.
Remarks
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
.