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

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

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

aws-native.iot.getJobTemplate

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

    Job templates enable you to preconfigure jobs so that you can deploy them to multiple sets of target devices.

    Using getJobTemplate

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getJobTemplate(args: GetJobTemplateArgs, opts?: InvokeOptions): Promise<GetJobTemplateResult>
    function getJobTemplateOutput(args: GetJobTemplateOutputArgs, opts?: InvokeOptions): Output<GetJobTemplateResult>
    def get_job_template(job_template_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetJobTemplateResult
    def get_job_template_output(job_template_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetJobTemplateResult]
    func LookupJobTemplate(ctx *Context, args *LookupJobTemplateArgs, opts ...InvokeOption) (*LookupJobTemplateResult, error)
    func LookupJobTemplateOutput(ctx *Context, args *LookupJobTemplateOutputArgs, opts ...InvokeOption) LookupJobTemplateResultOutput

    > Note: This function is named LookupJobTemplate in the Go SDK.

    public static class GetJobTemplate 
    {
        public static Task<GetJobTemplateResult> InvokeAsync(GetJobTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetJobTemplateResult> Invoke(GetJobTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetJobTemplateResult> getJobTemplate(GetJobTemplateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:iot:getJobTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    JobTemplateId string
    A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
    JobTemplateId string
    A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
    jobTemplateId String
    A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
    jobTemplateId string
    A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
    job_template_id str
    A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
    jobTemplateId String
    A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.

    getJobTemplate Result

    The following output properties are available:

    Arn string
    The ARN of the job to use as the basis for the job template.
    Arn string
    The ARN of the job to use as the basis for the job template.
    arn String
    The ARN of the job to use as the basis for the job template.
    arn string
    The ARN of the job to use as the basis for the job template.
    arn str
    The ARN of the job to use as the basis for the job template.
    arn String
    The ARN of the job to use as the basis for the job template.

    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.111.0 published on Tuesday, Jul 9, 2024 by Pulumi