Skip to main content

managed_job_templates

Creates, updates, deletes, gets or lists a managed_job_templates resource.

Overview

Namemanaged_job_templates
TypeResource
Idaws.iot.managed_job_templates

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
descriptionstringThe unique description of a managed template. (pattern: <code>[^\p{C}]+</code>)
documentstringThe document schema for a managed job template.
document_parametersarrayA map of key-value pairs that you can use as guidance to specify the inputs for creating a job from a managed template. documentParameters can only be used when creating jobs from Amazon Web Services managed templates. This parameter can't be used with custom job templates or to create jobs from them.
environmentsarrayA list of environments that are supported with the managed job template.
template_arnstringThe unique Amazon Resource Name (ARN) of the managed template. (pattern: <code>^arn:[!-~]+$</code>)
template_namestringThe unique name of a managed template, such as AWS-Reboot.
template_versionstringThe version for a managed template. (pattern: <code>^[1-9]+.[0-9]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_managed_job_templateselecttemplate_name, regiontemplateVersionView details of a managed job template.
list_managed_job_templatesselectregiontemplateName, maxResults, nextTokenReturns a list of managed job templates.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
template_namestringThe unique name of a managed job template, which is required.
maxResultsintegerMaximum number of entries that can be returned.
nextTokenstringThe token to retrieve the next set of results.
templateNamestringAn optional parameter for template name. If specified, only the versions of the managed job templates that have the specified template name will be returned.
templateVersionstringAn optional parameter to specify version of a managed template. If not specified, the pre-defined default version is returned.

SELECT examples

View details of a managed job template.

SELECT
description,
document,
document_parameters,
environments,
template_arn,
template_name,
template_version
FROM aws.iot.managed_job_templates
WHERE template_name = '{{ template_name }}' -- required
AND region = '{{ region }}' -- required
AND templateVersion = '{{ templateVersion }}'
;