Interface CfnUserPoolResourceServerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolResourceServerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:01.549Z")
@Stability(Stable)
public interface CfnUserPoolResourceServerProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.cognito.*;
CfnUserPoolResourceServerProps cfnUserPoolResourceServerProps = CfnUserPoolResourceServerProps.builder()
.identifier("identifier")
.name("name")
.userPoolId("userPoolId")
// the properties below are optional
.scopes(List.of(ResourceServerScopeTypeProperty.builder()
.scopeDescription("scopeDescription")
.scopeName("scopeName")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPoolResourceServerPropsstatic final classAn implementation forCfnUserPoolResourceServerProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIdentifier
A unique resource server identifier for the resource server.The identifier can be an API friendly name like
solar-system-data. You can also set an API URL likehttps://solar-system-data-api.example.comas your identifier.Amazon Cognito represents scopes in the access token in the format
$resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens.- See Also:
-
getName
A friendly name for the resource server.- See Also:
-
getUserPoolId
The ID of the user pool where you want to create a resource server.- See Also:
-
getScopes
A list of scopes.Each scope is a map with keys
ScopeNameandScopeDescription.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUserPoolResourceServer.ResourceServerScopeTypeProperty>- See Also:
-
builder
-