Interface CfnUserPoolResourceServerMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolResourceServerMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.435Z")
@Stability(Stable)
public interface CfnUserPoolResourceServerMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnUserPoolResourceServerPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.cognito.*;
CfnUserPoolResourceServerMixinProps cfnUserPoolResourceServerMixinProps = CfnUserPoolResourceServerMixinProps.builder()
.identifier("identifier")
.name("name")
.scopes(List.of(ResourceServerScopeTypeProperty.builder()
.scopeDescription("scopeDescription")
.scopeName("scopeName")
.build()))
.userPoolId("userPoolId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPoolResourceServerMixinPropsstatic final classAn implementation forCfnUserPoolResourceServerMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA unique resource server identifier for the resource server.default StringgetName()A friendly name for the resource server.default ObjectA list of scopes.default ObjectThe ID of the user pool where you want to create a resource server.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:
-
getScopes
A list of scopes.Each scope is a map with keys
ScopeNameandScopeDescription.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUserPoolResourceServerPropsMixin.ResourceServerScopeTypeProperty>- See Also:
-
getUserPoolId
The ID of the user pool where you want to create a resource server.Returns union: either
StringorIUserPoolRef- See Also:
-
builder
-