@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:32.795Z") @Stability(value=Stable) public class CfnEntity extends CfnResource implements IInspectable
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.*;
DataValueProperty dataValueProperty_;
Object definition;
Object error;
Object relationshipValue;
CfnEntity cfnEntity = CfnEntity.Builder.create(this, "MyCfnEntity")
.entityName("entityName")
.workspaceId("workspaceId")
// the properties below are optional
.components(Map.of(
"componentsKey", ComponentProperty.builder()
.componentName("componentName")
.componentTypeId("componentTypeId")
.definedIn("definedIn")
.description("description")
.properties(Map.of(
"propertiesKey", PropertyProperty.builder()
.definition(definition)
.value(DataValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.expression("expression")
.integerValue(123)
.listValue(List.of(dataValueProperty_))
.longValue(123)
.mapValue(Map.of(
"mapValueKey", dataValueProperty_))
.relationshipValue(relationshipValue)
.stringValue("stringValue")
.build())
.build()))
.status(StatusProperty.builder()
.error(error)
.state("state")
.build())
.build()))
.description("description")
.entityId("entityId")
.parentEntityId("parentEntityId")
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnEntity.Builder
A fluent builder for
CfnEntity. |
static interface |
CfnEntity.ComponentProperty
Example:
|
static interface |
CfnEntity.DataValueProperty
Example:
|
static interface |
CfnEntity.PropertyProperty
Example:
|
static interface |
CfnEntity.StatusProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| 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 |
|---|---|
|
CfnEntity(Construct scope,
String id,
CfnEntityProps props)
Create a new `AWS::IoTTwinMaker::Entity`.
|
protected |
CfnEntity(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnEntity(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrCreationDateTime() |
IResolvable |
getAttrHasChildEntities() |
String |
getAttrUpdateDateTime() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getComponents()
`AWS::IoTTwinMaker::Entity.Components`.
|
String |
getDescription()
`AWS::IoTTwinMaker::Entity.Description`.
|
String |
getEntityId()
`AWS::IoTTwinMaker::Entity.EntityId`.
|
String |
getEntityName()
`AWS::IoTTwinMaker::Entity.EntityName`.
|
String |
getParentEntityId()
`AWS::IoTTwinMaker::Entity.ParentEntityId`.
|
TagManager |
getTags()
`AWS::IoTTwinMaker::Entity.Tags`.
|
String |
getWorkspaceId()
`AWS::IoTTwinMaker::Entity.WorkspaceId`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setComponents(IResolvable value)
`AWS::IoTTwinMaker::Entity.Components`.
|
void |
setComponents(Map<String,Object> value)
`AWS::IoTTwinMaker::Entity.Components`.
|
void |
setDescription(String value)
`AWS::IoTTwinMaker::Entity.Description`.
|
void |
setEntityId(String value)
`AWS::IoTTwinMaker::Entity.EntityId`.
|
void |
setEntityName(String value)
`AWS::IoTTwinMaker::Entity.EntityName`.
|
void |
setParentEntityId(String value)
`AWS::IoTTwinMaker::Entity.ParentEntityId`.
|
void |
setWorkspaceId(String value)
`AWS::IoTTwinMaker::Entity.WorkspaceId`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnEntity(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnEntity(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnEntity(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnEntityProps 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 IResolvable getAttrHasChildEntities()
@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 getEntityName()
@Stability(value=Stable)
public void setEntityName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getWorkspaceId()
@Stability(value=Stable)
public void setWorkspaceId(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getComponents()
@Stability(value=Stable)
public void setComponents(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setComponents(@Nullable
Map<String,Object> value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getEntityId()
@Stability(value=Stable)
public void setEntityId(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getParentEntityId()
@Stability(value=Stable)
public void setParentEntityId(@Nullable
String value)
Copyright © 2022. All rights reserved.