1. Packages
  2. AWS Native
  3. API Docs
  4. iot
  5. Authorizer

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.iot.Authorizer

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Creates an authorizer.

    Create Authorizer Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Authorizer(name: string, args: AuthorizerArgs, opts?: CustomResourceOptions);
    @overload
    def Authorizer(resource_name: str,
                   args: AuthorizerArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Authorizer(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   authorizer_function_arn: Optional[str] = None,
                   authorizer_name: Optional[str] = None,
                   enable_caching_for_http: Optional[bool] = None,
                   signing_disabled: Optional[bool] = None,
                   status: Optional[AuthorizerStatus] = None,
                   tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                   token_key_name: Optional[str] = None,
                   token_signing_public_keys: Optional[Mapping[str, str]] = None)
    func NewAuthorizer(ctx *Context, name string, args AuthorizerArgs, opts ...ResourceOption) (*Authorizer, error)
    public Authorizer(string name, AuthorizerArgs args, CustomResourceOptions? opts = null)
    public Authorizer(String name, AuthorizerArgs args)
    public Authorizer(String name, AuthorizerArgs args, CustomResourceOptions options)
    
    type: aws-native:iot:Authorizer
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AuthorizerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AuthorizerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AuthorizerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AuthorizerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AuthorizerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Authorizer Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Authorizer resource accepts the following input properties:

    AuthorizerFunctionArn string
    The authorizer's Lambda function ARN.
    AuthorizerName string
    The authorizer name.
    EnableCachingForHttp bool
    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 in refreshAfterInSeconds . This value doesn't affect authorization of clients that use MQTT connections.
    SigningDisabled bool
    Specifies whether AWS IoT validates the token signature in an authorization request.
    Status Pulumi.AwsNative.IoT.AuthorizerStatus

    The status of the authorizer.

    Valid values: ACTIVE | INACTIVE

    Tags List<Pulumi.AwsNative.Inputs.Tag>

    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..."

    TokenKeyName string
    The key used to extract the token from the HTTP headers.
    TokenSigningPublicKeys Dictionary<string, string>
    The public keys used to validate the token signature returned by your custom authentication service.
    AuthorizerFunctionArn string
    The authorizer's Lambda function ARN.
    AuthorizerName string
    The authorizer name.
    EnableCachingForHttp bool
    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 in refreshAfterInSeconds . This value doesn't affect authorization of clients that use MQTT connections.
    SigningDisabled bool
    Specifies whether AWS IoT validates the token signature in an authorization request.
    Status AuthorizerStatus

    The status of the authorizer.

    Valid values: ACTIVE | INACTIVE

    Tags TagArgs

    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..."

    TokenKeyName string
    The key used to extract the token from the HTTP headers.
    TokenSigningPublicKeys map[string]string
    The public keys used to validate the token signature returned by your custom authentication service.
    authorizerFunctionArn String
    The authorizer's Lambda function ARN.
    authorizerName String
    The authorizer name.
    enableCachingForHttp Boolean
    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 in refreshAfterInSeconds . This value doesn't affect authorization of clients that use MQTT connections.
    signingDisabled Boolean
    Specifies whether AWS IoT validates the token signature in an authorization request.
    status AuthorizerStatus

    The status of the authorizer.

    Valid values: ACTIVE | INACTIVE

    tags List<Tag>

    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..."

    tokenKeyName String
    The key used to extract the token from the HTTP headers.
    tokenSigningPublicKeys Map<String,String>
    The public keys used to validate the token signature returned by your custom authentication service.
    authorizerFunctionArn string
    The authorizer's Lambda function ARN.
    authorizerName string
    The authorizer name.
    enableCachingForHttp boolean
    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 in refreshAfterInSeconds . This value doesn't affect authorization of clients that use MQTT connections.
    signingDisabled boolean
    Specifies whether AWS IoT validates the token signature in an authorization request.
    status AuthorizerStatus

    The status of the authorizer.

    Valid values: ACTIVE | INACTIVE

    tags Tag[]

    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..."

    tokenKeyName string
    The key used to extract the token from the HTTP headers.
    tokenSigningPublicKeys {[key: string]: string}
    The public keys used to validate the token signature returned by your custom authentication service.
    authorizer_function_arn str
    The authorizer's Lambda function ARN.
    authorizer_name str
    The authorizer name.
    enable_caching_for_http bool
    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 in refreshAfterInSeconds . This value doesn't affect authorization of clients that use MQTT connections.
    signing_disabled bool
    Specifies whether AWS IoT validates the token signature in an authorization request.
    status AuthorizerStatus

    The status of the authorizer.

    Valid values: ACTIVE | INACTIVE

    tags Sequence[TagArgs]

    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..."

    token_key_name str
    The key used to extract the token from the HTTP headers.
    token_signing_public_keys Mapping[str, str]
    The public keys used to validate the token signature returned by your custom authentication service.
    authorizerFunctionArn String
    The authorizer's Lambda function ARN.
    authorizerName String
    The authorizer name.
    enableCachingForHttp Boolean
    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 in refreshAfterInSeconds . This value doesn't affect authorization of clients that use MQTT connections.
    signingDisabled Boolean
    Specifies whether AWS IoT validates the token signature in an authorization request.
    status "ACTIVE" | "INACTIVE"

    The status of the authorizer.

    Valid values: ACTIVE | INACTIVE

    tags List<Property Map>

    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..."

    tokenKeyName String
    The key used to extract the token from the HTTP headers.
    tokenSigningPublicKeys Map<String>
    The public keys used to validate the token signature returned by your custom authentication service.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Authorizer resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the authorizer.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The Amazon Resource Name (ARN) of the authorizer.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) of the authorizer.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The Amazon Resource Name (ARN) of the authorizer.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The Amazon Resource Name (ARN) of the authorizer.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) of the authorizer.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    AuthorizerStatus, AuthorizerStatusArgs

    Active
    ACTIVE
    Inactive
    INACTIVE
    AuthorizerStatusActive
    ACTIVE
    AuthorizerStatusInactive
    INACTIVE
    Active
    ACTIVE
    Inactive
    INACTIVE
    Active
    ACTIVE
    Inactive
    INACTIVE
    ACTIVE
    ACTIVE
    INACTIVE
    INACTIVE
    "ACTIVE"
    ACTIVE
    "INACTIVE"
    INACTIVE

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi