AWS::IoT::CommandRepresents the resource definition of AWS IoT Command.
14 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
CommandId | string | RequiredCreate-only |
CreatedAt | string | |
Deprecated | boolean | |
Description | string | |
DisplayName | string | |
LastUpdatedAt | string | Write-only |
MandatoryParameters | array | |
Namespace | string | |
Payload | CommandPayload | |
PayloadTemplate | string | Create-only |
PendingDeletion | boolean | |
Preprocessor | CommandPreprocessor | Create-only |
RoleArn | string | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CommandArn | string | The Amazon Resource Name (ARN) of the command. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IoT::Command
Resources:
MyResource:
Type: AWS::IoT::Command
Properties:
CommandId: "my-commandid"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
iam:PassRoleiot:CreateCommandiot:TagResourceiot:GetCommandiot:ListTagsForResourceiam:PassRoleiot:UpdateCommandiot:GetCommandiot:TagResourceiot:UntagResourceiot:ListTagsForResourceiot:GetCommandiot:UpdateCommandiot:DeleteCommandiot:ListCommandsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterCommandIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
CommandIdPayloadTemplatePreprocessor