Interface CfnAuthorizerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAuthorizerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.521Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAuthorizerPropsstatic final classAn implementation forCfnAuthorizerProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAuthorizerProps.Builderbuilder()The authorizer's Lambda function ARN.default StringThe authorizer name.default ObjectAWS::IoT::Authorizer.EnableCachingForHttp.default ObjectSpecifies whether AWS IoT validates the token signature in an authorization request.default StringThe status of the authorizer.getTags()Metadata which can be used to manage the custom authorizer.default StringThe key used to extract the token from the HTTP headers.default ObjectThe 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. -
getAuthorizerName
The authorizer name. -
getEnableCachingForHttp
AWS::IoT::Authorizer.EnableCachingForHttp. -
getSigningDisabled
Specifies whether AWS IoT validates the token signature in an authorization request. -
getStatus
The status of the authorizer.Valid values:
ACTIVE|INACTIVE -
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..."
-
getTokenKeyName
The key used to extract the token from the HTTP headers. -
getTokenSigningPublicKeys
The public keys used to validate the token signature returned by your custom authentication service. -
builder
- Returns:
- a
CfnAuthorizerProps.BuilderofCfnAuthorizerProps
-