ComponentProperty Struct
The entity component.
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 iottwinmaker } from 'aws-cdk-lib';
declare const dataValueProperty_: iottwinmaker.CfnEntity.DataValueProperty;
declare const definition: any;
declare const error: any;
declare const relationshipValue: any;
const componentProperty: iottwinmaker.CfnEntity.ComponentProperty = {
componentName: 'componentName',
componentTypeId: 'componentTypeId',
definedIn: 'definedIn',
description: 'description',
properties: {
propertiesKey: {
definition: definition,
value: {
booleanValue: false,
doubleValue: 123,
expression: 'expression',
integerValue: 123,
listValue: [dataValueProperty_],
longValue: 123,
mapValue: {
mapValueKey: dataValueProperty_,
},
relationshipValue: relationshipValue,
stringValue: 'stringValue',
},
},
},
propertyGroups: {
propertyGroupsKey: {
groupType: 'groupType',
propertyNames: ['propertyNames'],
},
},
status: {
error: error,
state: 'state',
},
};
Properties
componentNameoptionalstringcomponent_nameoptionalstrcomponentNameoptionalStringComponentNameoptionalstringComponentNameoptional*string#The name of the component.
componentTypeIdoptionalstringcomponent_type_idoptionalstrcomponentTypeIdoptionalStringComponentTypeIdoptionalstringComponentTypeIdoptional*string#The ID of the component type.
definedInoptionalstringdefined_inoptionalstrdefinedInoptionalStringDefinedInoptionalstringDefinedInoptional*string#The name of the property definition set in the request.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#The description of the component.
propertiesoptionalIResolvable | { [key: string]: IResolvable | CfnEntity.PropertyProperty }propertiesoptionaltyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, PropertyProperty]]]propertiesoptionalIResolvablePropertiesoptionalIResolvablePropertiesoptionalinterface{}#An object that maps strings to the properties to set in the component type.
Each string in the mapping must be unique to this object.
propertyGroupsoptionalIResolvable | { [key: string]: IResolvable | CfnEntity.PropertyGroupProperty }property_groupsoptionaltyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, PropertyGroupProperty]]]propertyGroupsoptionalIResolvablePropertyGroupsoptionalIResolvablePropertyGroupsoptionalinterface{}#An object that maps strings to the property groups in the component type.
Each string in the mapping must be unique to this object.
statusoptionalIResolvable | CfnEntity.StatusPropertystatusoptionaltyping.Union[IResolvable, StatusProperty]statusoptionalIResolvableStatusoptionalIResolvableStatusoptionalinterface{}#The status of the component.