Skip to content
v2.278.0

SyncJobReference Struct ​

A reference to a SyncJob resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iottwinmaker as interfaces_iottwinmaker } from 'aws-cdk-lib/interfaces';
const syncJobReference: interfaces_iottwinmaker.SyncJobReference = {
  syncJobArn: 'syncJobArn',
  syncSource: 'syncSource',
  workspaceId: 'workspaceId',
};
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_iottwinmaker as interfaces_iottwinmaker

sync_job_reference = interfaces_iottwinmaker.SyncJobReference(
    sync_job_arn="syncJobArn",
    sync_source="syncSource",
    workspace_id="workspaceId"
)
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.iottwinmaker.*;

SyncJobReference syncJobReference = SyncJobReference.builder()
        .syncJobArn("syncJobArn")
        .syncSource("syncSource")
        .workspaceId("workspaceId")
        .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.IoTTwinMaker;

var syncJobReference = new SyncJobReference {
    SyncJobArn = "syncJobArn",
    SyncSource = "syncSource",
    WorkspaceId = "workspaceId"
};
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"

syncJobReference := &SyncJobReference{
	SyncJobArn: jsii.String("syncJobArn"),
	SyncSource: jsii.String("syncSource"),
	WorkspaceId: jsii.String("workspaceId"),
}

Properties ​

syncJobArnstringsync_job_arnstrsyncJobArnStringSyncJobArnstringSyncJobArn*string required #
The ARN of the SyncJob resource.
syncSourcestringsync_sourcestrsyncSourceStringSyncSourcestringSyncSource*string required #
The SyncSource of the SyncJob resource.
workspaceIdstringworkspace_idstrworkspaceIdStringWorkspaceIdstringWorkspaceId*string required #
The WorkspaceId of the SyncJob resource.