aws-cdk-lib.aws_iottwinmaker.CfnEntity.ComponentProperty

interface ComponentProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTTwinMaker.CfnEntity.ComponentProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiottwinmaker#CfnEntity_ComponentProperty
Javasoftware.amazon.awscdk.services.iottwinmaker.CfnEntity.ComponentProperty
Pythonaws_cdk.aws_iottwinmaker.CfnEntity.ComponentProperty
TypeScript aws-cdk-lib » aws_iottwinmaker » CfnEntity » ComponentProperty

The entity component.

Example

// 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

NameTypeDescription
componentName?stringThe name of the component.
componentTypeId?stringThe ID of the ComponentType.
definedIn?stringThe name of the property definition set in the request.
description?stringThe description of the component.
properties?IResolvable | { [string]: IResolvable | PropertyProperty }An object that maps strings to the properties to set in the component type.
propertyGroups?IResolvable | { [string]: IResolvable | PropertyGroupProperty }An object that maps strings to the property groups in the component type.
status?IResolvable | StatusPropertyThe status of the component.

componentName?

Type: string (optional)

The name of the component.


componentTypeId?

Type: string (optional)

The ID of the ComponentType.


definedIn?

Type: string (optional)

The name of the property definition set in the request.


description?

Type: string (optional)

The description of the component.


properties?

Type: IResolvable | { [string]: IResolvable | PropertyProperty } (optional)

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.


propertyGroups?

Type: IResolvable | { [string]: IResolvable | PropertyGroupProperty } (optional)

An object that maps strings to the property groups in the component type.

Each string in the mapping must be unique to this object.


status?

Type: IResolvable | StatusProperty (optional)

The status of the component.