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
  function: aws-native:iot:getJobTemplate
    # arguments dictionary

The following arguments are supported:

getJobTemplate Result

The following output properties are available:

Arn string
Arn string
arn String
arn string
arn str
arn String

Package Details