CfnAuthorizerProps

class aws_cdk.aws_iot.CfnAuthorizerProps(*, authorizer_function_arn, authorizer_name=None, signing_disabled=None, status=None, tags=None, token_key_name=None, token_signing_public_keys=None)

Bases: object

Properties for defining a AWS::IoT::Authorizer.

Parameters
  • authorizer_function_arn (str) – AWS::IoT::Authorizer.AuthorizerFunctionArn.

  • authorizer_name (Optional[str]) – AWS::IoT::Authorizer.AuthorizerName.

  • signing_disabled (Union[bool, IResolvable, None]) – AWS::IoT::Authorizer.SigningDisabled.

  • status (Optional[str]) – AWS::IoT::Authorizer.Status.

  • tags (Optional[Sequence[CfnTag]]) – AWS::IoT::Authorizer.Tags.

  • token_key_name (Optional[str]) – AWS::IoT::Authorizer.TokenKeyName.

  • token_signing_public_keys (Union[IResolvable, Mapping[str, str], None]) – AWS::IoT::Authorizer.TokenSigningPublicKeys.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iot as iot

cfn_authorizer_props = iot.CfnAuthorizerProps(
    authorizer_function_arn="authorizerFunctionArn",

    # the properties below are optional
    authorizer_name="authorizerName",
    signing_disabled=False,
    status="status",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    token_key_name="tokenKeyName",
    token_signing_public_keys={
        "token_signing_public_keys_key": "tokenSigningPublicKeys"
    }
)

Attributes

authorizer_function_arn

AWS::IoT::Authorizer.AuthorizerFunctionArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-authorizerfunctionarn

Return type

str

authorizer_name

AWS::IoT::Authorizer.AuthorizerName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-authorizername

Return type

Optional[str]

signing_disabled

AWS::IoT::Authorizer.SigningDisabled.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-signingdisabled

Return type

Union[bool, IResolvable, None]

status

AWS::IoT::Authorizer.Status.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-status

Return type

Optional[str]

tags

AWS::IoT::Authorizer.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-tags

Return type

Optional[List[CfnTag]]

token_key_name

AWS::IoT::Authorizer.TokenKeyName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-tokenkeyname

Return type

Optional[str]

token_signing_public_keys

AWS::IoT::Authorizer.TokenSigningPublicKeys.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-tokensigningpublickeys

Return type

Union[IResolvable, Mapping[str, str], None]