Skip to content
v2.278.0

CommandParameterValueComparisonOperandProperty Struct ​

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 commandParameterValueComparisonOperandProperty: iot.CfnCommand.CommandParameterValueComparisonOperandProperty = {
  number: 'number',
  numberRange: {
    max: 'max',
    min: 'min',
  },
  numbers: ['numbers'],
  string: 'string',
  strings: ['strings'],
};
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

command_parameter_value_comparison_operand_property = iot.CfnCommand.CommandParameterValueComparisonOperandProperty(
    number="number",
    number_range=iot.CfnCommand.CommandParameterValueNumberRangeProperty(
        max="max",
        min="min"
    ),
    numbers=["numbers"],
    string="string",
    strings=["strings"]
)
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.*;

CommandParameterValueComparisonOperandProperty commandParameterValueComparisonOperandProperty = CommandParameterValueComparisonOperandProperty.builder()
        .number("number")
        .numberRange(CommandParameterValueNumberRangeProperty.builder()
                .max("max")
                .min("min")
                .build())
        .numbers(List.of("numbers"))
        .string("string")
        .strings(List.of("strings"))
        .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 commandParameterValueComparisonOperandProperty = new CommandParameterValueComparisonOperandProperty {
    Number = "number",
    NumberRange = new CommandParameterValueNumberRangeProperty {
        Max = "max",
        Min = "min"
    },
    Numbers = new [] { "numbers" },
    String = "string",
    Strings = new [] { "strings" }
};
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"

commandParameterValueComparisonOperandProperty := &CommandParameterValueComparisonOperandProperty{
	Number: jsii.String("number"),
	NumberRange: &CommandParameterValueNumberRangeProperty{
		Max: jsii.String("max"),
		Min: jsii.String("min"),
	},
	Numbers: []*string{
		jsii.String("numbers"),
	},
	String: jsii.String("string"),
	Strings: []*string{
		jsii.String("strings"),
	},
}

Properties ​

numberoptionalstringnumberoptionalstrnumberoptionalStringNumberoptionalstringNumberoptional*string #
numberRangeoptionalIResolvable | CfnCommand.CommandParameterValueNumberRangePropertynumber_rangeoptionaltyping.Union[IResolvable, CommandParameterValueNumberRangeProperty]numberRangeoptionalIResolvableNumberRangeoptionalIResolvableNumberRangeoptionalinterface{} #
numbersoptionalstring[]numbersoptionaltyping.List[str]numbersoptionalList<String>Numbersoptionalstring[]Numbersoptional*[]*string #
stringoptionalstringstringoptionalstrstringoptionalStringStringoptionalstringStringoptional*string #
stringsoptionalstring[]stringsoptionaltyping.List[str]stringsoptionalList<String>Stringsoptionalstring[]Stringsoptional*[]*string #