Interface CfnUserPoolResourceServer.ResourceServerScopeTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolResourceServer.ResourceServerScopeTypeProperty.Jsii$Proxy
- Enclosing class:
CfnUserPoolResourceServer
@Stability(Stable)
public static interface CfnUserPoolResourceServer.ResourceServerScopeTypeProperty
extends software.amazon.jsii.JsiiSerializable
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 .
This data type is a request parameter of CreateResourceServer and a response parameter of DescribeResourceServer .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
ResourceServerScopeTypeProperty resourceServerScopeTypeProperty = ResourceServerScopeTypeProperty.builder()
.scopeDescription("scopeDescription")
.scopeName("scopeName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnUserPoolResourceServer.ResourceServerScopeTypeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A friendly description of a custom scope.The name of the scope.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getScopeDescription
A friendly description of a custom scope.- See Also:
-
getScopeName
The name of the scope.Amazon Cognito renders custom scopes in the format
resourceServerIdentifier/ScopeName. For example, if this parameter isexampleScopein the resource server with the identifierexampleResourceServer, you request and receive the scopeexampleResourceServer/exampleScope.- See Also:
-
builder
@Stability(Stable) static CfnUserPoolResourceServer.ResourceServerScopeTypeProperty.Builder builder()
-