NodeProperty Struct
A general abstraction of a signal.
A node can be specified as an actuator, attribute, branch, or sensor.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotfleetwise as iotfleetwise } from 'aws-cdk-lib';
const nodeProperty: iotfleetwise.CfnSignalCatalog.NodeProperty = {
actuator: {
dataType: 'dataType',
fullyQualifiedName: 'fullyQualifiedName',
// the properties below are optional
allowedValues: ['allowedValues'],
assignedValue: 'assignedValue',
description: 'description',
max: 123,
min: 123,
unit: 'unit',
},
attribute: {
dataType: 'dataType',
fullyQualifiedName: 'fullyQualifiedName',
// the properties below are optional
allowedValues: ['allowedValues'],
assignedValue: 'assignedValue',
defaultValue: 'defaultValue',
description: 'description',
max: 123,
min: 123,
unit: 'unit',
},
branch: {
fullyQualifiedName: 'fullyQualifiedName',
// the properties below are optional
description: 'description',
},
sensor: {
dataType: 'dataType',
fullyQualifiedName: 'fullyQualifiedName',
// the properties below are optional
allowedValues: ['allowedValues'],
description: 'description',
max: 123,
min: 123,
unit: 'unit',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotfleetwise as iotfleetwise
node_property = iotfleetwise.CfnSignalCatalog.NodeProperty(
actuator=iotfleetwise.CfnSignalCatalog.ActuatorProperty(
data_type="dataType",
fully_qualified_name="fullyQualifiedName",
# the properties below are optional
allowed_values=["allowedValues"],
assigned_value="assignedValue",
description="description",
max=123,
min=123,
unit="unit"
),
attribute=iotfleetwise.CfnSignalCatalog.AttributeProperty(
data_type="dataType",
fully_qualified_name="fullyQualifiedName",
# the properties below are optional
allowed_values=["allowedValues"],
assigned_value="assignedValue",
default_value="defaultValue",
description="description",
max=123,
min=123,
unit="unit"
),
branch=iotfleetwise.CfnSignalCatalog.BranchProperty(
fully_qualified_name="fullyQualifiedName",
# the properties below are optional
description="description"
),
sensor=iotfleetwise.CfnSignalCatalog.SensorProperty(
data_type="dataType",
fully_qualified_name="fullyQualifiedName",
# the properties below are optional
allowed_values=["allowedValues"],
description="description",
max=123,
min=123,
unit="unit"
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotfleetwise.*;
NodeProperty nodeProperty = NodeProperty.builder()
.actuator(ActuatorProperty.builder()
.dataType("dataType")
.fullyQualifiedName("fullyQualifiedName")
// the properties below are optional
.allowedValues(List.of("allowedValues"))
.assignedValue("assignedValue")
.description("description")
.max(123)
.min(123)
.unit("unit")
.build())
.attribute(AttributeProperty.builder()
.dataType("dataType")
.fullyQualifiedName("fullyQualifiedName")
// the properties below are optional
.allowedValues(List.of("allowedValues"))
.assignedValue("assignedValue")
.defaultValue("defaultValue")
.description("description")
.max(123)
.min(123)
.unit("unit")
.build())
.branch(BranchProperty.builder()
.fullyQualifiedName("fullyQualifiedName")
// the properties below are optional
.description("description")
.build())
.sensor(SensorProperty.builder()
.dataType("dataType")
.fullyQualifiedName("fullyQualifiedName")
// the properties below are optional
.allowedValues(List.of("allowedValues"))
.description("description")
.max(123)
.min(123)
.unit("unit")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTFleetWise;
var nodeProperty = new NodeProperty {
Actuator = new ActuatorProperty {
DataType = "dataType",
FullyQualifiedName = "fullyQualifiedName",
// the properties below are optional
AllowedValues = new [] { "allowedValues" },
AssignedValue = "assignedValue",
Description = "description",
Max = 123,
Min = 123,
Unit = "unit"
},
Attribute = new AttributeProperty {
DataType = "dataType",
FullyQualifiedName = "fullyQualifiedName",
// the properties below are optional
AllowedValues = new [] { "allowedValues" },
AssignedValue = "assignedValue",
DefaultValue = "defaultValue",
Description = "description",
Max = 123,
Min = 123,
Unit = "unit"
},
Branch = new BranchProperty {
FullyQualifiedName = "fullyQualifiedName",
// the properties below are optional
Description = "description"
},
Sensor = new SensorProperty {
DataType = "dataType",
FullyQualifiedName = "fullyQualifiedName",
// the properties below are optional
AllowedValues = new [] { "allowedValues" },
Description = "description",
Max = 123,
Min = 123,
Unit = "unit"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
nodeProperty := &NodeProperty{
Actuator: &ActuatorProperty{
DataType: jsii.String("dataType"),
FullyQualifiedName: jsii.String("fullyQualifiedName"),
// the properties below are optional
AllowedValues: []*string{
jsii.String("allowedValues"),
},
AssignedValue: jsii.String("assignedValue"),
Description: jsii.String("description"),
Max: jsii.Number(123),
Min: jsii.Number(123),
Unit: jsii.String("unit"),
},
Attribute: &AttributeProperty{
DataType: jsii.String("dataType"),
FullyQualifiedName: jsii.String("fullyQualifiedName"),
// the properties below are optional
AllowedValues: []*string{
jsii.String("allowedValues"),
},
AssignedValue: jsii.String("assignedValue"),
DefaultValue: jsii.String("defaultValue"),
Description: jsii.String("description"),
Max: jsii.Number(123),
Min: jsii.Number(123),
Unit: jsii.String("unit"),
},
Branch: &BranchProperty{
FullyQualifiedName: jsii.String("fullyQualifiedName"),
// the properties below are optional
Description: jsii.String("description"),
},
Sensor: &SensorProperty{
DataType: jsii.String("dataType"),
FullyQualifiedName: jsii.String("fullyQualifiedName"),
// the properties below are optional
AllowedValues: []*string{
jsii.String("allowedValues"),
},
Description: jsii.String("description"),
Max: jsii.Number(123),
Min: jsii.Number(123),
Unit: jsii.String("unit"),
},
}
Properties
actuatoroptionalIResolvable | CfnSignalCatalog.actuatoroptionaltyping.Union[IResolvable, ActuatorProperty]actuatoroptionalIResolvableActuatoroptionalIResolvableActuatoroptionalinterface{} #Information about a node specified as an actuator.
An actuator is a digital representation of a vehicle device.
attributeoptionalIResolvable | CfnSignalCatalog.attributeoptionaltyping.Union[IResolvable, AttributeProperty]attributeoptionalIResolvableAttributeoptionalIResolvableAttributeoptionalinterface{} #Information about a node specified as an attribute.
An attribute represents static information about a vehicle.
branchoptionalIResolvable | CfnSignalCatalog.BranchPropertybranchoptionaltyping.Union[IResolvable, BranchProperty]branchoptionalIResolvableBranchoptionalIResolvableBranchoptionalinterface{} #Information about a node specified as a branch.
A group of signals that are defined in a hierarchical structure.
sensoroptionalIResolvable | CfnSignalCatalog.SensorPropertysensoroptionaltyping.Union[IResolvable, SensorProperty]sensoroptionalIResolvableSensoroptionalIResolvableSensoroptionalinterface{} #An input component that reports the environmental condition of a vehicle.
You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.