Show / Hide Table of Contents

Class CfnJobTemplateMixinProps

Properties for CfnJobTemplatePropsMixin.

Inheritance
object
CfnJobTemplateMixinProps
Implements
ICfnJobTemplateMixinProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoT
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnJobTemplateMixinProps : ICfnJobTemplateMixinProps
Syntax (vb)
Public Class CfnJobTemplateMixinProps Implements ICfnJobTemplateMixinProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.IoT;

             var abortConfig;
             var jobExecutionsRolloutConfig;
             var presignedUrlConfig;
             var timeoutConfig;

             var cfnJobTemplateMixinProps = new CfnJobTemplateMixinProps {
                 AbortConfig = abortConfig,
                 Description = "description",
                 DestinationPackageVersions = new [] { "destinationPackageVersions" },
                 Document = "document",
                 DocumentSource = "documentSource",
                 JobArn = "jobArn",
                 JobExecutionsRetryConfig = new JobExecutionsRetryConfigProperty {
                     RetryCriteriaList = new [] { new RetryCriteriaProperty {
                         FailureType = "failureType",
                         NumberOfRetries = 123
                     } }
                 },
                 JobExecutionsRolloutConfig = jobExecutionsRolloutConfig,
                 JobTemplateId = "jobTemplateId",
                 MaintenanceWindows = new [] { new MaintenanceWindowProperty {
                     DurationInMinutes = 123,
                     StartTime = "startTime"
                 } },
                 PresignedUrlConfig = presignedUrlConfig,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TimeoutConfig = timeoutConfig
             };

Synopsis

Constructors

CfnJobTemplateMixinProps()

Properties for CfnJobTemplatePropsMixin.

Properties

AbortConfig

The criteria that determine when and how a job abort takes place.

Description

A description of the job template.

DestinationPackageVersions

The package version Amazon Resource Names (ARNs) that are installed on the device’s reserved named shadow ( $package ) when the job successfully completes.

Document

The job document.

DocumentSource

An S3 link, or S3 object URL, to the job document.

JobArn

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

JobExecutionsRetryConfig

Allows you to create the criteria to retry a job.

JobExecutionsRolloutConfig

Allows you to create a staged rollout of a job.

JobTemplateId

A unique identifier for the job template.

MaintenanceWindows

An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.

PresignedUrlConfig

Configuration for pre-signed S3 URLs.

Tags

Metadata that can be used to manage the job template.

TimeoutConfig

Specifies the amount of time each device has to finish its execution of the job.

Constructors

CfnJobTemplateMixinProps()

Properties for CfnJobTemplatePropsMixin.

public CfnJobTemplateMixinProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.IoT;

             var abortConfig;
             var jobExecutionsRolloutConfig;
             var presignedUrlConfig;
             var timeoutConfig;

             var cfnJobTemplateMixinProps = new CfnJobTemplateMixinProps {
                 AbortConfig = abortConfig,
                 Description = "description",
                 DestinationPackageVersions = new [] { "destinationPackageVersions" },
                 Document = "document",
                 DocumentSource = "documentSource",
                 JobArn = "jobArn",
                 JobExecutionsRetryConfig = new JobExecutionsRetryConfigProperty {
                     RetryCriteriaList = new [] { new RetryCriteriaProperty {
                         FailureType = "failureType",
                         NumberOfRetries = 123
                     } }
                 },
                 JobExecutionsRolloutConfig = jobExecutionsRolloutConfig,
                 JobTemplateId = "jobTemplateId",
                 MaintenanceWindows = new [] { new MaintenanceWindowProperty {
                     DurationInMinutes = 123,
                     StartTime = "startTime"
                 } },
                 PresignedUrlConfig = presignedUrlConfig,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TimeoutConfig = timeoutConfig
             };

Properties

AbortConfig

The criteria that determine when and how a job abort takes place.

public object? AbortConfig { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-abortconfig

Description

A description of the job template.

public string? Description { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-description

DestinationPackageVersions

The package version Amazon Resource Names (ARNs) that are installed on the device’s reserved named shadow ( $package ) when the job successfully completes.

public string[]? DestinationPackageVersions { get; set; }
Property Value

string[]

Remarks

Note: Up to 25 package version ARNS are allowed.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-destinationpackageversions

Document

The job document.

public string? Document { get; set; }
Property Value

string

Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-document

DocumentSource

An S3 link, or S3 object URL, to the job document.

public string? DocumentSource { get; set; }
Property Value

string

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-documentsource

JobArn

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

public string? JobArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-jobarn

JobExecutionsRetryConfig

Allows you to create the criteria to retry a job.

public object? JobExecutionsRetryConfig { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-jobexecutionsretryconfig

Type union: either IResolvable or CfnJobTemplatePropsMixin.IJobExecutionsRetryConfigProperty

JobExecutionsRolloutConfig

Allows you to create a staged rollout of a job.

public object? JobExecutionsRolloutConfig { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-jobexecutionsrolloutconfig

JobTemplateId

A unique identifier for the job template.

public string? JobTemplateId { get; set; }
Property Value

string

Remarks

We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-jobtemplateid

MaintenanceWindows

An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.

public object? MaintenanceWindows { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-maintenancewindows

Type union: either IResolvable or (either IResolvable or CfnJobTemplatePropsMixin.IMaintenanceWindowProperty)[]

PresignedUrlConfig

Configuration for pre-signed S3 URLs.

public object? PresignedUrlConfig { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-presignedurlconfig

Tags

Metadata that can be used to manage the job template.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-tags

TimeoutConfig

Specifies the amount of time each device has to finish its execution of the job.

public object? TimeoutConfig { get; set; }
Property Value

object

Remarks

A timer is started when the job execution status is set to IN_PROGRESS . If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-timeoutconfig

Implements

ICfnJobTemplateMixinProps
Back to top Generated by DocFX