AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::IoT::Command

CfnCommand

Represents the resource definition of AWS IoT Command.

Import

import { CfnCommand } from 'aws-cdk-lib/aws-iot';

Or use the module namespace:

import * as iot from 'aws-cdk-lib/aws-iot';
// iot.CfnCommand

Properties

Configuration passed to the constructor as CfnCommandProps.

commandIdRequired
string

The unique identifier of the command.

createdAtOptional
string

The timestamp, when the command was created.

deprecatedOptional
boolean | IResolvable

Indicates whether the command has been deprecated.

descriptionOptional
string

The description of the command parameter.

displayNameOptional
string

The display name of the command.

lastUpdatedAtOptional
string

The timestamp, when the command was last updated.

mandatoryParametersOptional
IResolvable | IResolvable | CommandParameterProperty[]
namespaceOptional
string

The namespace to which the command belongs.

payloadOptional
IResolvable | CommandPayloadProperty
payloadTemplateOptional
string

The payload template associated with the command.

pendingDeletionOptional
boolean | IResolvable

Indicates whether the command is pending deletion.

preprocessorOptional
IResolvable | CommandPreprocessorProperty
roleArnOptional
string

The customer role associated with the command.

tagsOptional
CfnTag[]

The tags to be associated with the command.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter