Interface CognitoAuthorizerProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CognitoAuthorizerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.61.0 (build abf4039)", date="2022-07-07T06:39:53.607Z") @Stability(Experimental) public interface CognitoAuthorizerProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties used to configure a cognito authorizer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCognitoAuthorizerProps.BuilderA builder forCognitoAuthorizerPropsstatic classCognitoAuthorizerProps.Jsii$ProxyAn implementation forCognitoAuthorizerProps
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static CognitoAuthorizerProps.Builderbuilder()default List<String>getAuthorizationScopes()(experimental) A list of authorization scopes configured on the method.StringgetAuthorizerId()(experimental) Unique identifier for this authorizer.List<software.amazon.awscdk.services.cognito.IUserPool>getUserPools()(experimental) The Cognito user pools associated with this authorizer.
-
-
-
Method Detail
-
getAuthorizerId
@Stability(Experimental) @NotNull String getAuthorizerId()
(experimental) Unique identifier for this authorizer.
-
getUserPools
@Stability(Experimental) @NotNull List<software.amazon.awscdk.services.cognito.IUserPool> getUserPools()
(experimental) The Cognito user pools associated with this authorizer.
-
getAuthorizationScopes
@Stability(Experimental) @Nullable default List<String> getAuthorizationScopes()
(experimental) A list of authorization scopes configured on the method.When used as the default authorizer, these scopes will be applied to all methods without an authorizer at the integration level.
Default: []
-
builder
@Stability(Experimental) static CognitoAuthorizerProps.Builder builder()
- Returns:
- a
CognitoAuthorizerProps.BuilderofCognitoAuthorizerProps
-
-