Skip to content
v2.278.0

CommandParameterValueConditionProperty 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 commandParameterValueConditionProperty: iot.CfnCommand.CommandParameterValueConditionProperty = {
  comparisonOperator: 'comparisonOperator',
  operand: {
    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_condition_property = iot.CfnCommand.CommandParameterValueConditionProperty(
    comparison_operator="comparisonOperator",
    operand=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.*;

CommandParameterValueConditionProperty commandParameterValueConditionProperty = CommandParameterValueConditionProperty.builder()
        .comparisonOperator("comparisonOperator")
        .operand(CommandParameterValueComparisonOperandProperty.builder()
                .number("number")
                .numberRange(CommandParameterValueNumberRangeProperty.builder()
                        .max("max")
                        .min("min")
                        .build())
                .numbers(List.of("numbers"))
                .string("string")
                .strings(List.of("strings"))
                .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.IoT;

var commandParameterValueConditionProperty = new CommandParameterValueConditionProperty {
    ComparisonOperator = "comparisonOperator",
    Operand = 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"

commandParameterValueConditionProperty := &CommandParameterValueConditionProperty{
	ComparisonOperator: jsii.String("comparisonOperator"),
	Operand: &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 ​

comparisonOperatorstringcomparison_operatorstrcomparisonOperatorStringComparisonOperatorstringComparisonOperator*string required #