/AWS1/CL_IOT=>CREATEAUTHORIZER()
¶
About CreateAuthorizer¶
Creates an authorizer.
Requires permission to access the CreateAuthorizer action.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_AUTHORIZERNAME
TYPE /AWS1/IOTAUTHORIZERNAME
/AWS1/IOTAUTHORIZERNAME
¶
The authorizer name.
IV_AUTHORIZERFUNCTIONARN
TYPE /AWS1/IOTAUTHORIZERFUNCTIONARN
/AWS1/IOTAUTHORIZERFUNCTIONARN
¶
The ARN of the authorizer's Lambda function.
Optional arguments:¶
IV_TOKENKEYNAME
TYPE /AWS1/IOTTOKENKEYNAME
/AWS1/IOTTOKENKEYNAME
¶
The name of the token key used to extract the token from the HTTP headers.
IT_TOKENSIGNINGPUBLICKEYS
TYPE /AWS1/CL_IOTPUBLICKEYMAP_W=>TT_PUBLICKEYMAP
TT_PUBLICKEYMAP
¶
The public keys used to verify the digital signature returned by your custom authentication service.
IV_STATUS
TYPE /AWS1/IOTAUTHORIZERSTATUS
/AWS1/IOTAUTHORIZERSTATUS
¶
The status of the create authorizer request.
IT_TAGS
TYPE /AWS1/CL_IOTTAG=>TT_TAGLIST
TT_TAGLIST
¶
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..."
IV_SIGNINGDISABLED
TYPE /AWS1/IOTBOOLEANKEY
/AWS1/IOTBOOLEANKEY
¶
Specifies whether IoT validates the token signature in an authorization request.
IV_ENABLECACHINGFORHTTP
TYPE /AWS1/IOTENABLECACHINGFORHTTP
/AWS1/IOTENABLECACHINGFORHTTP
¶
When
true
, 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 inrefreshAfterInSeconds
. This value does not affect authorization of clients that use MQTT connections.The default value is
false
.