Interface CustomAuthorizerProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CustomAuthorizerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-15T09:33:12.690Z") @Stability(Experimental) public interface CustomAuthorizerProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties used to configure a custom authorizer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCustomAuthorizerProps.BuilderA builder forCustomAuthorizerPropsstatic classCustomAuthorizerProps.Jsii$ProxyAn implementation forCustomAuthorizerProps
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static CustomAuthorizerProps.Builderbuilder()StringgetAuthorizerId()(experimental) Unique identifier for this authorizer.default NumbergetAuthorizerResultTtlInSeconds()(experimental) The number of seconds during which the authorizer result is cached.software.amazon.awscdk.services.lambda.IFunctiongetFunction()(experimental) The lambda function used to authorize requests.default StringgetIdentitySource()(experimental) The source of the identity in an incoming request.default CustomAuthorizerTypegetType()(experimental) The type of custom authorizer.
-
-
-
Method Detail
-
getAuthorizerId
@Stability(Experimental) @NotNull String getAuthorizerId()
(experimental) Unique identifier for this authorizer.
-
getFunction
@Stability(Experimental) @NotNull software.amazon.awscdk.services.lambda.IFunction getFunction()
(experimental) The lambda function used to authorize requests.
-
getAuthorizerResultTtlInSeconds
@Stability(Experimental) @Nullable default Number getAuthorizerResultTtlInSeconds()
(experimental) The number of seconds during which the authorizer result is cached.Default: 300
-
getIdentitySource
@Stability(Experimental) @Nullable default String getIdentitySource()
(experimental) The source of the identity in an incoming request.Default: "method.request.header.Authorization"
-
getType
@Stability(Experimental) @Nullable default CustomAuthorizerType getType()
(experimental) The type of custom authorizer.Default: CustomAuthorizerType.TOKEN
-
builder
@Stability(Experimental) static CustomAuthorizerProps.Builder builder()
- Returns:
- a
CustomAuthorizerProps.BuilderofCustomAuthorizerProps
-
-