@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.074Z") @Stability(value=Stable) public class CfnScene extends CfnResource implements IInspectable
Use the AWS::IoTTwinMaker::Scene resource to declare a scene.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iottwinmaker.*;
CfnScene cfnScene = CfnScene.Builder.create(this, "MyCfnScene")
.contentLocation("contentLocation")
.sceneId("sceneId")
.workspaceId("workspaceId")
// the properties below are optional
.capabilities(List.of("capabilities"))
.description("description")
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnScene.Builder
A fluent builder for
CfnScene. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnScene(software.constructs.Construct scope,
String id,
CfnSceneProps props)
Create a new `AWS::IoTTwinMaker::Scene`.
|
protected |
CfnScene(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnScene(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The scene ARN.
|
String |
getAttrCreationDateTime()
The date and time when the scene was created.
|
String |
getAttrUpdateDateTime()
The scene the update time.
|
List<String> |
getCapabilities()
A list of capabilities that the scene uses to render.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getContentLocation()
The relative path that specifies the location of the content definition file.
|
String |
getDescription()
The description of this scene.
|
String |
getSceneId()
The scene ID.
|
TagManager |
getTags()
The ComponentType tags.
|
String |
getWorkspaceId()
The ID of the workspace.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCapabilities(List<String> value)
A list of capabilities that the scene uses to render.
|
void |
setContentLocation(String value)
The relative path that specifies the location of the content definition file.
|
void |
setDescription(String value)
The description of this scene.
|
void |
setSceneId(String value)
The scene ID.
|
void |
setWorkspaceId(String value)
The ID of the workspace.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnScene(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnScene(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnScene(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnSceneProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCreationDateTime()
@Stability(value=Stable) @NotNull public String getAttrUpdateDateTime()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getContentLocation()
@Stability(value=Stable)
public void setContentLocation(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getSceneId()
@Stability(value=Stable)
public void setSceneId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getWorkspaceId()
@Stability(value=Stable)
public void setWorkspaceId(@NotNull
String value)
@Stability(value=Stable) @Nullable public List<String> getCapabilities()
@Stability(value=Stable)
public void setCapabilities(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.