@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:32.781Z") @Stability(value=Stable) public class CfnComponentType 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.*;
DataTypeProperty dataTypeProperty_;
DataValueProperty dataValueProperty_;
Object relationshipValue;
CfnComponentType cfnComponentType = CfnComponentType.Builder.create(this, "MyCfnComponentType")
.componentTypeId("componentTypeId")
.workspaceId("workspaceId")
// the properties below are optional
.description("description")
.extendsFrom(List.of("extendsFrom"))
.functions(Map.of(
"functionsKey", FunctionProperty.builder()
.implementedBy(DataConnectorProperty.builder()
.isNative(false)
.lambda(LambdaFunctionProperty.builder()
.arn("arn")
.build())
.build())
.requiredProperties(List.of("requiredProperties"))
.scope("scope")
.build()))
.isSingleton(false)
.propertyDefinitions(Map.of(
"propertyDefinitionsKey", PropertyDefinitionProperty.builder()
.configurations(Map.of(
"configurationsKey", "configurations"))
.dataType(DataTypeProperty.builder()
.type("type")
// the properties below are optional
.allowedValues(List.of(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()))
.nestedType(dataTypeProperty_)
.relationship(RelationshipProperty.builder()
.relationshipType("relationshipType")
.targetComponentTypeId("targetComponentTypeId")
.build())
.unitOfMeasure("unitOfMeasure")
.build())
.defaultValue(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())
.isExternalId(false)
.isRequiredInEntity(false)
.isStoredExternally(false)
.isTimeSeries(false)
.build()))
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnComponentType.Builder
A fluent builder for
CfnComponentType. |
static interface |
CfnComponentType.DataConnectorProperty
Example:
|
static interface |
CfnComponentType.DataTypeProperty
Example:
|
static interface |
CfnComponentType.DataValueProperty
Example:
|
static interface |
CfnComponentType.FunctionProperty
Example:
|
static interface |
CfnComponentType.LambdaFunctionProperty
Example:
|
static interface |
CfnComponentType.PropertyDefinitionProperty
Example:
|
static interface |
CfnComponentType.RelationshipProperty
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 |
|---|---|
|
CfnComponentType(Construct scope,
String id,
CfnComponentTypeProps props)
Create a new `AWS::IoTTwinMaker::ComponentType`.
|
protected |
CfnComponentType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnComponentType(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrCreationDateTime() |
IResolvable |
getAttrIsAbstract() |
IResolvable |
getAttrIsSchemaInitialized() |
String |
getAttrUpdateDateTime() |
protected Map<String,Object> |
getCfnProperties() |
String |
getComponentTypeId()
`AWS::IoTTwinMaker::ComponentType.ComponentTypeId`.
|
String |
getDescription()
`AWS::IoTTwinMaker::ComponentType.Description`.
|
List<String> |
getExtendsFrom()
`AWS::IoTTwinMaker::ComponentType.ExtendsFrom`.
|
Object |
getFunctions()
`AWS::IoTTwinMaker::ComponentType.Functions`.
|
Object |
getIsSingleton()
`AWS::IoTTwinMaker::ComponentType.IsSingleton`.
|
Object |
getPropertyDefinitions()
`AWS::IoTTwinMaker::ComponentType.PropertyDefinitions`.
|
TagManager |
getTags()
`AWS::IoTTwinMaker::ComponentType.Tags`.
|
String |
getWorkspaceId()
`AWS::IoTTwinMaker::ComponentType.WorkspaceId`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setComponentTypeId(String value)
`AWS::IoTTwinMaker::ComponentType.ComponentTypeId`.
|
void |
setDescription(String value)
`AWS::IoTTwinMaker::ComponentType.Description`.
|
void |
setExtendsFrom(List<String> value)
`AWS::IoTTwinMaker::ComponentType.ExtendsFrom`.
|
void |
setFunctions(IResolvable value)
`AWS::IoTTwinMaker::ComponentType.Functions`.
|
void |
setFunctions(Map<String,Object> value)
`AWS::IoTTwinMaker::ComponentType.Functions`.
|
void |
setIsSingleton(Boolean value)
`AWS::IoTTwinMaker::ComponentType.IsSingleton`.
|
void |
setIsSingleton(IResolvable value)
`AWS::IoTTwinMaker::ComponentType.IsSingleton`.
|
void |
setPropertyDefinitions(IResolvable value)
`AWS::IoTTwinMaker::ComponentType.PropertyDefinitions`.
|
void |
setPropertyDefinitions(Map<String,Object> value)
`AWS::IoTTwinMaker::ComponentType.PropertyDefinitions`.
|
void |
setWorkspaceId(String value)
`AWS::IoTTwinMaker::ComponentType.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 CfnComponentType(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnComponentType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnComponentType(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnComponentTypeProps 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 getAttrIsAbstract()
@Stability(value=Stable) @NotNull public IResolvable getAttrIsSchemaInitialized()
@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 getComponentTypeId()
@Stability(value=Stable)
public void setComponentTypeId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getWorkspaceId()
@Stability(value=Stable)
public void setWorkspaceId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public List<String> getExtendsFrom()
@Stability(value=Stable)
public void setExtendsFrom(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public Object getFunctions()
@Stability(value=Stable)
public void setFunctions(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setFunctions(@Nullable
Map<String,Object> value)
@Stability(value=Stable) @Nullable public Object getIsSingleton()
@Stability(value=Stable)
public void setIsSingleton(@Nullable
Boolean value)
@Stability(value=Stable)
public void setIsSingleton(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getPropertyDefinitions()
@Stability(value=Stable)
public void setPropertyDefinitions(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.