Skip to content
v2.278.0

JobTemplateReference Struct ​

A reference to a JobTemplate resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as interfaces_iot } from 'aws-cdk-lib/interfaces';
const jobTemplateReference: interfaces_iot.JobTemplateReference = {
  jobTemplateArn: 'jobTemplateArn',
  jobTemplateId: 'jobTemplateId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_iot as interfaces_iot

job_template_reference = interfaces_iot.JobTemplateReference(
    job_template_arn="jobTemplateArn",
    job_template_id="jobTemplateId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.iot.*;

JobTemplateReference jobTemplateReference = JobTemplateReference.builder()
        .jobTemplateArn("jobTemplateArn")
        .jobTemplateId("jobTemplateId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.IoT;

var jobTemplateReference = new JobTemplateReference {
    JobTemplateArn = "jobTemplateArn",
    JobTemplateId = "jobTemplateId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

jobTemplateReference := &JobTemplateReference{
	JobTemplateArn: jsii.String("jobTemplateArn"),
	JobTemplateId: jsii.String("jobTemplateId"),
}

Properties ​

jobTemplateArnstringjob_template_arnstrjobTemplateArnStringJobTemplateArnstringJobTemplateArn*string required #
The ARN of the JobTemplate resource.
jobTemplateIdstringjob_template_idstrjobTemplateIdStringJobTemplateIdstringJobTemplateId*string required #
The JobTemplateId of the JobTemplate resource.