Skip to content
v2.278.0

PropertyProperty Struct ​

An object that sets information about a property.

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 relationshipValue: any;
const propertyProperty: iottwinmaker.CfnEntity.PropertyProperty = {
  definition: definition,
  value: {
    booleanValue: false,
    doubleValue: 123,
    expression: 'expression',
    integerValue: 123,
    listValue: [dataValueProperty_],
    longValue: 123,
    mapValue: {
      mapValueKey: dataValueProperty_,
    },
    relationshipValue: relationshipValue,
    stringValue: 'stringValue',
  },
};
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_iottwinmaker as iottwinmaker

# data_value_property_: iottwinmaker.CfnEntity.DataValueProperty
# definition: Any
# relationship_value: Any

property_property = iottwinmaker.CfnEntity.PropertyProperty(
    definition=definition,
    value=iottwinmaker.CfnEntity.DataValueProperty(
        boolean_value=False,
        double_value=123,
        expression="expression",
        integer_value=123,
        list_value=[data_value_property_],
        long_value=123,
        map_value={
            "map_value_key": data_value_property_
        },
        relationship_value=relationship_value,
        string_value="stringValue"
    )
)
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.iottwinmaker.*;

DataValueProperty dataValueProperty_;
Object definition;
Object relationshipValue;

PropertyProperty propertyProperty = 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();
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.IoTTwinMaker;

DataValueProperty dataValueProperty_;
var definition;
var relationshipValue;

var propertyProperty = new PropertyProperty {
    Definition = definition,
    Value = new DataValueProperty {
        BooleanValue = false,
        DoubleValue = 123,
        Expression = "expression",
        IntegerValue = 123,
        ListValue = new [] { dataValueProperty_ },
        LongValue = 123,
        MapValue = new Dictionary<string, object> {
            { "mapValueKey", dataValueProperty_ }
        },
        RelationshipValue = relationshipValue,
        StringValue = "stringValue"
    }
};
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"

var dataValueProperty_ DataValueProperty
var definition interface{}
var relationshipValue interface{}

propertyProperty := &PropertyProperty{
	Definition: definition,
	Value: &DataValueProperty{
		BooleanValue: jsii.Boolean(false),
		DoubleValue: jsii.Number(123),
		Expression: jsii.String("expression"),
		IntegerValue: jsii.Number(123),
		ListValue: []interface{}{
			dataValueProperty_,
		},
		LongValue: jsii.Number(123),
		MapValue: map[string]interface{}{
			"mapValueKey": dataValueProperty_,
		},
		RelationshipValue: relationshipValue,
		StringValue: jsii.String("stringValue"),
	},
}

Properties ​

definitionoptionalanydefinitionoptionalAnydefinitionoptionalObjectDefinitionoptionalobjectDefinitionoptionalinterface{} #
An object that specifies information about a property.
valueoptionalIResolvable | CfnEntity.DataValuePropertyvalueoptionaltyping.Union[IResolvable, DataValueProperty]valueoptionalIResolvableValueoptionalIResolvableValueoptionalinterface{} #
An object that contains information about a value for a time series property.