Interface CfnCommandProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCommandProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-09T14:39:12.437Z") @Stability(Stable) public interface CfnCommandProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnCommand.

Example:

 // 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.*;
 CfnCommandProps cfnCommandProps = CfnCommandProps.builder()
         .commandId("commandId")
         // the properties below are optional
         .createdAt("createdAt")
         .deprecated(false)
         .description("description")
         .displayName("displayName")
         .lastUpdatedAt("lastUpdatedAt")
         .mandatoryParameters(List.of(CommandParameterProperty.builder()
                 .name("name")
                 // the properties below are optional
                 .defaultValue(CommandParameterValueProperty.builder()
                         .b(false)
                         .bin("bin")
                         .d(123)
                         .i(123)
                         .l("l")
                         .s("s")
                         .ul("ul")
                         .build())
                 .description("description")
                 .type("type")
                 .value(CommandParameterValueProperty.builder()
                         .b(false)
                         .bin("bin")
                         .d(123)
                         .i(123)
                         .l("l")
                         .s("s")
                         .ul("ul")
                         .build())
                 .valueConditions(List.of(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()))
                 .build()))
         .namespace("namespace")
         .payload(CommandPayloadProperty.builder()
                 .content("content")
                 .contentType("contentType")
                 .build())
         .payloadTemplate("payloadTemplate")
         .pendingDeletion(false)
         .preprocessor(CommandPreprocessorProperty.builder()
                 .awsJsonSubstitution(AwsJsonSubstitutionCommandPreprocessorConfigProperty.builder()
                         .outputFormat("outputFormat")
                         .build())
                 .build())
         .roleArn("roleArn")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: