Skip to content
v2.278.0

JobReference Struct ​

A reference to a Job 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 jobReference: interfaces_iot.JobReference = {
  jobArn: 'jobArn',
};
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_reference = interfaces_iot.JobReference(
    job_arn="jobArn"
)
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.*;

JobReference jobReference = JobReference.builder()
        .jobArn("jobArn")
        .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 jobReference = new JobReference {
    JobArn = "jobArn"
};
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"

jobReference := &JobReference{
	JobArn: jsii.String("jobArn"),
}

Properties ​

jobArnstringjob_arnstrjobArnStringJobArnstringJobArn*string required #
The Arn of the Job resource.