Interface CfnAuthorizerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAuthorizerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:56:00.151Z")
@Stability(Stable)
public interface CfnAuthorizerProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAuthorizer
.
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.iot.*; CfnAuthorizerProps cfnAuthorizerProps = CfnAuthorizerProps.builder() .authorizerFunctionArn("authorizerFunctionArn") // the properties below are optional .authorizerName("authorizerName") .enableCachingForHttp(false) .signingDisabled(false) .status("status") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .tokenKeyName("tokenKeyName") .tokenSigningPublicKeys(Map.of( "tokenSigningPublicKeysKey", "tokenSigningPublicKeys")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAuthorizerProps
static final class
An implementation forCfnAuthorizerProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAuthorizerProps.Builder
builder()
The authorizer's Lambda function ARN.default String
The authorizer name.default Object
Whentrue
, the result from the authorizer's Lambda function is cached for clients that use persistent HTTP connections.default Object
Specifies whether AWS IoT validates the token signature in an authorization request.default String
The status of the authorizer.getTags()
Metadata which can be used to manage the custom authorizer.default String
The key used to extract the token from the HTTP headers.default Object
The public keys used to validate the token signature returned by your custom authentication service.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizerFunctionArn
The authorizer's Lambda function ARN.- See Also:
-
getAuthorizerName
The authorizer name.- See Also:
-
getEnableCachingForHttp
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.- See Also:
-
getSigningDisabled
Specifies whether AWS IoT validates the token signature in an authorization request.- See Also:
-
getStatus
The status of the authorizer.Valid values:
ACTIVE
|INACTIVE
- See Also:
-
getTags
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..."
- See Also:
-
getTokenKeyName
The key used to extract the token from the HTTP headers.- See Also:
-
getTokenSigningPublicKeys
The public keys used to validate the token signature returned by your custom authentication service.- See Also:
-
builder
- Returns:
- a
CfnAuthorizerProps.Builder
ofCfnAuthorizerProps
-