Class CfnJobTemplatePropsMixin
Represents a job template.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoT
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnJobTemplatePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnJobTemplatePropsMixin Inherits Mixin Implements IMixin
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html
CloudformationResource: AWS::IoT::JobTemplate
Mixin: true
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;
using Amazon.CDK;
var abortConfig;
var jobExecutionsRolloutConfig;
IMergeStrategy mergeStrategy;
var presignedUrlConfig;
var timeoutConfig;
var cfnJobTemplatePropsMixin = new CfnJobTemplatePropsMixin(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
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnJobTemplatePropsMixin(ICfnJobTemplateMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Represents a job template. |
| Props | Represents a job template. |
| Strategy | Represents a job template. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnJobTemplatePropsMixin(ICfnJobTemplateMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::IoT::JobTemplate.
public CfnJobTemplatePropsMixin(ICfnJobTemplateMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnJobTemplateMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html
CloudformationResource: AWS::IoT::JobTemplate
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Represents a job template.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html
CloudformationResource: AWS::IoT::JobTemplate
Mixin: true
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;
using Amazon.CDK;
var abortConfig;
var jobExecutionsRolloutConfig;
IMergeStrategy mergeStrategy;
var presignedUrlConfig;
var timeoutConfig;
var cfnJobTemplatePropsMixin = new CfnJobTemplatePropsMixin(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
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Represents a job template.
protected virtual ICfnJobTemplateMixinProps Props { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html
CloudformationResource: AWS::IoT::JobTemplate
Mixin: true
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;
using Amazon.CDK;
var abortConfig;
var jobExecutionsRolloutConfig;
IMergeStrategy mergeStrategy;
var presignedUrlConfig;
var timeoutConfig;
var cfnJobTemplatePropsMixin = new CfnJobTemplatePropsMixin(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
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Represents a job template.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html
CloudformationResource: AWS::IoT::JobTemplate
Mixin: true
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;
using Amazon.CDK;
var abortConfig;
var jobExecutionsRolloutConfig;
IMergeStrategy mergeStrategy;
var presignedUrlConfig;
var timeoutConfig;
var cfnJobTemplatePropsMixin = new CfnJobTemplatePropsMixin(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
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html
CloudformationResource: AWS::IoT::JobTemplate
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html
CloudformationResource: AWS::IoT::JobTemplate
Mixin: true
ExampleMetadata: fixture=_generated