Interface CfnUserPoolResourceServerProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnUserPoolResourceServerProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.964Z") @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();
 
  • Method Details

    • getIdentifier

      @Stability(Stable) @NotNull String getIdentifier()
      A unique resource server identifier for the resource server.

      This could be an HTTPS endpoint where the resource server is located. For example: https://my-weather-api.example.com .

    • getName

      @Stability(Stable) @NotNull String getName()
      A friendly name for the resource server.
    • getUserPoolId

      @Stability(Stable) @NotNull String getUserPoolId()
      The user pool ID for the user pool.
    • getScopes

      @Stability(Stable) @Nullable default Object getScopes()
      A list of scopes.

      Each scope is a map with keys ScopeName and ScopeDescription .

    • builder

      @Stability(Stable) static CfnUserPoolResourceServerProps.Builder builder()
      Returns:
      a CfnUserPoolResourceServerProps.Builder of CfnUserPoolResourceServerProps