AssetPropertyVariantProperty Struct
Contains an asset property value (of a single type).
| 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_iot as iot } from 'aws-cdk-lib';
const assetPropertyVariantProperty: iot.CfnTopicRule.AssetPropertyVariantProperty = {
booleanValue: 'booleanValue',
doubleValue: 'doubleValue',
integerValue: 'integerValue',
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_iot as iot
asset_property_variant_property = iot.CfnTopicRule.AssetPropertyVariantProperty(
boolean_value="booleanValue",
double_value="doubleValue",
integer_value="integerValue",
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.iot.*;
AssetPropertyVariantProperty assetPropertyVariantProperty = AssetPropertyVariantProperty.builder()
.booleanValue("booleanValue")
.doubleValue("doubleValue")
.integerValue("integerValue")
.stringValue("stringValue")
.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.IoT;
var assetPropertyVariantProperty = new AssetPropertyVariantProperty {
BooleanValue = "booleanValue",
DoubleValue = "doubleValue",
IntegerValue = "integerValue",
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"
assetPropertyVariantProperty := &AssetPropertyVariantProperty{
BooleanValue: jsii.String("booleanValue"),
DoubleValue: jsii.String("doubleValue"),
IntegerValue: jsii.String("integerValue"),
StringValue: jsii.String("stringValue"),
}
Properties
booleanValueoptionalstringboolean_valueoptionalstrbooleanValueoptionalStringBooleanValueoptionalstringBooleanValueoptional*string #Optional.
A string that contains the boolean value ( true or false ) of the value entry. Accepts substitution templates.
doubleValueoptionalstringdouble_valueoptionalstrdoubleValueoptionalStringDoubleValueoptionalstringDoubleValueoptional*string #Optional.
A string that contains the double value of the value entry. Accepts substitution templates.
integerValueoptionalstringinteger_valueoptionalstrintegerValueoptionalStringIntegerValueoptionalstringIntegerValueoptional*string #Optional.
A string that contains the integer value of the value entry. Accepts substitution templates.
stringValueoptionalstringstring_valueoptionalstrstringValueoptionalStringStringValueoptionalstringStringValueoptional*string #Optional.
The string value of the value entry. Accepts substitution templates.