Class CfnAuthorizerPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnAuthorizerPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAuthorizerPropsMixin>
- Enclosing class:
CfnAuthorizerPropsMixin
@Stability(Stable)
public static final class CfnAuthorizerPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAuthorizerPropsMixin>
A fluent builder for
CfnAuthorizerPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionauthorizerFunctionArn(String authorizerFunctionArn) The authorizer's Lambda function ARN.authorizerName(String authorizerName) The authorizer name.build()create()create(CfnPropertyMixinOptions options) enableCachingForHttp(Boolean enableCachingForHttp) Whentrue, the result from the authorizer's Lambda function is cached for clients that use persistent HTTP connections.enableCachingForHttp(IResolvable enableCachingForHttp) Whentrue, the result from the authorizer's Lambda function is cached for clients that use persistent HTTP connections.signingDisabled(Boolean signingDisabled) Specifies whether AWS IoT validates the token signature in an authorization request.signingDisabled(IResolvable signingDisabled) Specifies whether AWS IoT validates the token signature in an authorization request.The status of the authorizer.Metadata which can be used to manage the custom authorizer.tokenKeyName(String tokenKeyName) The key used to extract the token from the HTTP headers.tokenSigningPublicKeys(Map<String, String> tokenSigningPublicKeys) The public keys used to validate the token signature returned by your custom authentication service.tokenSigningPublicKeys(IResolvable tokenSigningPublicKeys) The public keys used to validate the token signature returned by your custom authentication service.
-
Method Details
-
create
@Stability(Stable) public static CfnAuthorizerPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAuthorizerPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAuthorizerPropsMixin.Builder.
-
authorizerFunctionArn
@Stability(Stable) public CfnAuthorizerPropsMixin.Builder authorizerFunctionArn(String authorizerFunctionArn) The authorizer's Lambda function ARN.- Parameters:
authorizerFunctionArn- The authorizer's Lambda function ARN. This parameter is required.- Returns:
this- See Also:
-
authorizerName
The authorizer name.- Parameters:
authorizerName- The authorizer name. This parameter is required.- Returns:
this- See Also:
-
enableCachingForHttp
@Stability(Stable) public CfnAuthorizerPropsMixin.Builder enableCachingForHttp(Boolean enableCachingForHttp) Whentrue, the result from the authorizer's Lambda function is cached for clients that use persistent HTTP connections.The results are cached for the time specified by the Lambda function in
refreshAfterInSeconds. This value doesn't affect authorization of clients that use MQTT connections.- Parameters:
enableCachingForHttp- Whentrue, the result from the authorizer's Lambda function is cached for clients that use persistent HTTP connections. This parameter is required.- Returns:
this- See Also:
-
enableCachingForHttp
@Stability(Stable) public CfnAuthorizerPropsMixin.Builder enableCachingForHttp(IResolvable enableCachingForHttp) Whentrue, the result from the authorizer's Lambda function is cached for clients that use persistent HTTP connections.The results are cached for the time specified by the Lambda function in
refreshAfterInSeconds. This value doesn't affect authorization of clients that use MQTT connections.- Parameters:
enableCachingForHttp- Whentrue, the result from the authorizer's Lambda function is cached for clients that use persistent HTTP connections. This parameter is required.- Returns:
this- See Also:
-
signingDisabled
Specifies whether AWS IoT validates the token signature in an authorization request.- Parameters:
signingDisabled- Specifies whether AWS IoT validates the token signature in an authorization request. This parameter is required.- Returns:
this- See Also:
-
signingDisabled
@Stability(Stable) public CfnAuthorizerPropsMixin.Builder signingDisabled(IResolvable signingDisabled) Specifies whether AWS IoT validates the token signature in an authorization request.- Parameters:
signingDisabled- Specifies whether AWS IoT validates the token signature in an authorization request. This parameter is required.- Returns:
this- See Also:
-
status
The status of the authorizer.Valid values:
ACTIVE|INACTIVE- Parameters:
status- The status of the authorizer. This parameter is required.- Returns:
this- See Also:
-
tags
Metadata which can be used to manage the custom authorizer.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..."
- Parameters:
tags- Metadata which can be used to manage the custom authorizer. This parameter is required.- Returns:
this- See Also:
-
tokenKeyName
The key used to extract the token from the HTTP headers.- Parameters:
tokenKeyName- The key used to extract the token from the HTTP headers. This parameter is required.- Returns:
this- See Also:
-
tokenSigningPublicKeys
@Stability(Stable) public CfnAuthorizerPropsMixin.Builder tokenSigningPublicKeys(Map<String, String> tokenSigningPublicKeys) The public keys used to validate the token signature returned by your custom authentication service.- Parameters:
tokenSigningPublicKeys- The public keys used to validate the token signature returned by your custom authentication service. This parameter is required.- Returns:
this- See Also:
-
tokenSigningPublicKeys
@Stability(Stable) public CfnAuthorizerPropsMixin.Builder tokenSigningPublicKeys(IResolvable tokenSigningPublicKeys) The public keys used to validate the token signature returned by your custom authentication service.- Parameters:
tokenSigningPublicKeys- The public keys used to validate the token signature returned by your custom authentication service. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAuthorizerPropsMixin>- Returns:
- a newly built instance of
CfnAuthorizerPropsMixin.
-