AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateJobTemplate operation. Creates a job template.

Requires permission to access the CreateJobTemplate action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoT.AmazonIoTRequest
      Amazon.IoT.Model.CreateJobTemplateRequest

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class CreateJobTemplateRequest : AmazonIoTRequest
         IAmazonWebServiceRequest

The CreateJobTemplateRequest type exposes the following members

Constructors

NameDescription
Public Method CreateJobTemplateRequest()

Properties

NameTypeDescription
Public Property AbortConfig Amazon.IoT.Model.AbortConfig

Gets and sets the property AbortConfig.

Public Property Description System.String

Gets and sets the property Description.

A description of the job document.

Public Property DestinationPackageVersions System.Collections.Generic.List<System.String>

Gets and sets the property DestinationPackageVersions.

The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle.

Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.

Public Property Document System.String

Gets and sets the property Document.

The job document. Required if you don't specify a value for documentSource.

Public Property DocumentSource System.String

Gets and sets the property DocumentSource.

An S3 link, or S3 object URL, to the job document. The link is an Amazon S3 object URL and is required if you don't specify a value for document.

For example, --document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0

For more information, see Methods for accessing a bucket.

Public Property JobArn System.String

Gets and sets the property JobArn.

The ARN of the job to use as the basis for the job template.

Public Property JobExecutionsRetryConfig Amazon.IoT.Model.JobExecutionsRetryConfig

Gets and sets the property JobExecutionsRetryConfig.

Allows you to create the criteria to retry a job.

Public Property JobExecutionsRolloutConfig Amazon.IoT.Model.JobExecutionsRolloutConfig

Gets and sets the property JobExecutionsRolloutConfig.

Public Property JobTemplateId System.String

Gets and sets the property JobTemplateId.

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

Public Property MaintenanceWindows System.Collections.Generic.List<Amazon.IoT.Model.MaintenanceWindow>

Gets and sets the property MaintenanceWindows.

Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.

Public Property PresignedUrlConfig Amazon.IoT.Model.PresignedUrlConfig

Gets and sets the property PresignedUrlConfig.

Public Property Tags System.Collections.Generic.List<Amazon.IoT.Model.Tag>

Gets and sets the property Tags.

Metadata that can be used to manage the job template.

Public Property TimeoutConfig Amazon.IoT.Model.TimeoutConfig

Gets and sets the property TimeoutConfig.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5