Skip to content
v2.278.0

SceneReference Struct ​

A reference to a Scene 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 sceneReference: interfaces_iottwinmaker.SceneReference = {
  sceneArn: 'sceneArn',
  sceneId: 'sceneId',
  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

scene_reference = interfaces_iottwinmaker.SceneReference(
    scene_arn="sceneArn",
    scene_id="sceneId",
    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.*;

SceneReference sceneReference = SceneReference.builder()
        .sceneArn("sceneArn")
        .sceneId("sceneId")
        .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 sceneReference = new SceneReference {
    SceneArn = "sceneArn",
    SceneId = "sceneId",
    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"

sceneReference := &SceneReference{
	SceneArn: jsii.String("sceneArn"),
	SceneId: jsii.String("sceneId"),
	WorkspaceId: jsii.String("workspaceId"),
}

Properties ​

sceneArnstringscene_arnstrsceneArnStringSceneArnstringSceneArn*string required #
The ARN of the Scene resource.
sceneIdstringscene_idstrsceneIdStringSceneIdstringSceneId*string required #
The SceneId of the Scene resource.
workspaceIdstringworkspace_idstrworkspaceIdStringWorkspaceIdstringWorkspaceId*string required #
The WorkspaceId of the Scene resource.