@Stability(value=Stable) public static final class CfnAuthorizer.Builder extends Object implements software.amazon.jsii.Builder<CfnAuthorizer>
CfnAuthorizer.| Modifier and Type | Method and Description |
|---|---|
CfnAuthorizer.Builder |
authorizerFunctionArn(String authorizerFunctionArn)
The authorizer's Lambda function ARN.
|
CfnAuthorizer.Builder |
authorizerName(String authorizerName)
The authorizer name.
|
CfnAuthorizer |
build() |
static CfnAuthorizer.Builder |
create(software.constructs.Construct scope,
String id) |
CfnAuthorizer.Builder |
enableCachingForHttp(Boolean enableCachingForHttp)
`AWS::IoT::Authorizer.EnableCachingForHttp`.
|
CfnAuthorizer.Builder |
enableCachingForHttp(IResolvable enableCachingForHttp)
`AWS::IoT::Authorizer.EnableCachingForHttp`.
|
CfnAuthorizer.Builder |
signingDisabled(Boolean signingDisabled)
Specifies whether AWS IoT validates the token signature in an authorization request.
|
CfnAuthorizer.Builder |
signingDisabled(IResolvable signingDisabled)
Specifies whether AWS IoT validates the token signature in an authorization request.
|
CfnAuthorizer.Builder |
status(String status)
The status of the authorizer.
|
CfnAuthorizer.Builder |
tags(List<? extends CfnTag> tags)
Metadata which can be used to manage the custom authorizer.
|
CfnAuthorizer.Builder |
tokenKeyName(String tokenKeyName)
The key used to extract the token from the HTTP headers.
|
CfnAuthorizer.Builder |
tokenSigningPublicKeys(IResolvable tokenSigningPublicKeys)
The public keys used to validate the token signature returned by your custom authentication service.
|
CfnAuthorizer.Builder |
tokenSigningPublicKeys(Map<String,String> tokenSigningPublicKeys)
The public keys used to validate the token signature returned by your custom authentication service.
|
@Stability(value=Stable) public static CfnAuthorizer.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnAuthorizer.Builder.@Stability(value=Stable) public CfnAuthorizer.Builder authorizerFunctionArn(String authorizerFunctionArn)
authorizerFunctionArn - The authorizer's Lambda function ARN. This parameter is required.this@Stability(value=Stable) public CfnAuthorizer.Builder authorizerName(String authorizerName)
authorizerName - The authorizer name. This parameter is required.this@Stability(value=Stable) public CfnAuthorizer.Builder enableCachingForHttp(Boolean enableCachingForHttp)
enableCachingForHttp - `AWS::IoT::Authorizer.EnableCachingForHttp`. This parameter is required.this@Stability(value=Stable) public CfnAuthorizer.Builder enableCachingForHttp(IResolvable enableCachingForHttp)
enableCachingForHttp - `AWS::IoT::Authorizer.EnableCachingForHttp`. This parameter is required.this@Stability(value=Stable) public CfnAuthorizer.Builder signingDisabled(Boolean signingDisabled)
signingDisabled - Specifies whether AWS IoT validates the token signature in an authorization request. This parameter is required.this@Stability(value=Stable) public CfnAuthorizer.Builder signingDisabled(IResolvable signingDisabled)
signingDisabled - Specifies whether AWS IoT validates the token signature in an authorization request. This parameter is required.this@Stability(value=Stable) public CfnAuthorizer.Builder status(String status)
Valid values: ACTIVE | INACTIVE
status - The status of the authorizer. This parameter is required.this@Stability(value=Stable) public CfnAuthorizer.Builder tags(List<? extends CfnTag> tags)
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tags - Metadata which can be used to manage the custom authorizer. This parameter is required.this@Stability(value=Stable) public CfnAuthorizer.Builder tokenKeyName(String tokenKeyName)
tokenKeyName - The key used to extract the token from the HTTP headers. This parameter is required.this@Stability(value=Stable) public CfnAuthorizer.Builder tokenSigningPublicKeys(IResolvable tokenSigningPublicKeys)
tokenSigningPublicKeys - The public keys used to validate the token signature returned by your custom authentication service. This parameter is required.this@Stability(value=Stable) public CfnAuthorizer.Builder tokenSigningPublicKeys(Map<String,String> tokenSigningPublicKeys)
tokenSigningPublicKeys - The public keys used to validate the token signature returned by your custom authentication service. This parameter is required.this@Stability(value=Stable) public CfnAuthorizer build()
build in interface software.amazon.jsii.Builder<CfnAuthorizer>Copyright © 2022. All rights reserved.