Interface CfnCommandProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCommandProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:40.065Z")
@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")
.value(CommandParameterValueProperty.builder()
.b(false)
.bin("bin")
.d(123)
.i(123)
.l("l")
.s("s")
.ul("ul")
.build())
.build()))
.namespace("namespace")
.payload(CommandPayloadProperty.builder()
.content("content")
.contentType("contentType")
.build())
.pendingDeletion(false)
.roleArn("roleArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCommandPropsstatic final classAn implementation forCfnCommandProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnCommandProps.Builderbuilder()The unique identifier of the command.default StringThe timestamp, when the command was created.default ObjectIndicates whether the command has been deprecated.default StringThe description of the command parameter.default StringThe display name of the command.default StringThe timestamp, when the command was last updated.default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnCommand.CommandParameterProperty>default StringThe namespace to which the command belongs.default ObjectReturns union: eitherIResolvableorCfnCommand.CommandPayloadPropertydefault ObjectIndicates whether the command is pending deletion.default StringThe customer role associated with the command.getTags()The tags to be associated with the command.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCommandId
The unique identifier of the command.- See Also:
-
getCreatedAt
The timestamp, when the command was created.- See Also:
-
getDeprecated
Indicates whether the command has been deprecated.Returns union: either
BooleanorIResolvable- See Also:
-
getDescription
The description of the command parameter.- See Also:
-
getDisplayName
The display name of the command.- See Also:
-
getLastUpdatedAt
The timestamp, when the command was last updated.- See Also:
-
getMandatoryParameters
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnCommand.CommandParameterProperty>- See Also:
-
getNamespace
The namespace to which the command belongs.- See Also:
-
getPayload
Returns union: eitherIResolvableorCfnCommand.CommandPayloadProperty- See Also:
-
getPendingDeletion
Indicates whether the command is pending deletion.Returns union: either
BooleanorIResolvable- See Also:
-
getRoleArn
The customer role associated with the command.- See Also:
-
getTags
The tags to be associated with the command.- See Also:
-
builder
- Returns:
- a
CfnCommandProps.BuilderofCfnCommandProps
-