We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.iot.getCommand
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
Represents the resource definition of AWS IoT Command.
Using getCommand
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCommand(args: GetCommandArgs, opts?: InvokeOptions): Promise<GetCommandResult>
function getCommandOutput(args: GetCommandOutputArgs, opts?: InvokeOptions): Output<GetCommandResult>def get_command(command_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetCommandResult
def get_command_output(command_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetCommandResult]func LookupCommand(ctx *Context, args *LookupCommandArgs, opts ...InvokeOption) (*LookupCommandResult, error)
func LookupCommandOutput(ctx *Context, args *LookupCommandOutputArgs, opts ...InvokeOption) LookupCommandResultOutput> Note: This function is named LookupCommand in the Go SDK.
public static class GetCommand 
{
    public static Task<GetCommandResult> InvokeAsync(GetCommandArgs args, InvokeOptions? opts = null)
    public static Output<GetCommandResult> Invoke(GetCommandInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCommandResult> getCommand(GetCommandArgs args, InvokeOptions options)
public static Output<GetCommandResult> getCommand(GetCommandArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:iot:getCommand
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CommandId string
- The unique identifier for the command.
- CommandId string
- The unique identifier for the command.
- commandId String
- The unique identifier for the command.
- commandId string
- The unique identifier for the command.
- command_id str
- The unique identifier for the command.
- commandId String
- The unique identifier for the command.
getCommand Result
The following output properties are available:
- CommandArn string
- The Amazon Resource Name (ARN) of the command.
- CreatedAt string
- The date and time when the command was created.
- Deprecated bool
- A flag indicating whether the command is deprecated.
- Description string
- The description of the command.
- DisplayName string
- The display name for the command.
- MandatoryParameters List<Pulumi.Aws Native. Io T. Outputs. Command Parameter> 
- The list of mandatory parameters for the command.
- Namespace
Pulumi.Aws Native. Io T. Command Namespace 
- The namespace to which the command belongs.
- Payload
Pulumi.Aws Native. Io T. Outputs. Command Payload 
- The payload associated with the command.
- PendingDeletion bool
- A flag indicating whether the command is pending deletion.
- RoleArn string
- The customer role associated with the command.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- The tags to be associated with the command.
- CommandArn string
- The Amazon Resource Name (ARN) of the command.
- CreatedAt string
- The date and time when the command was created.
- Deprecated bool
- A flag indicating whether the command is deprecated.
- Description string
- The description of the command.
- DisplayName string
- The display name for the command.
- MandatoryParameters []CommandParameter 
- The list of mandatory parameters for the command.
- Namespace
CommandNamespace 
- The namespace to which the command belongs.
- Payload
CommandPayload 
- The payload associated with the command.
- PendingDeletion bool
- A flag indicating whether the command is pending deletion.
- RoleArn string
- The customer role associated with the command.
- Tag
- The tags to be associated with the command.
- commandArn String
- The Amazon Resource Name (ARN) of the command.
- createdAt String
- The date and time when the command was created.
- deprecated Boolean
- A flag indicating whether the command is deprecated.
- description String
- The description of the command.
- displayName String
- The display name for the command.
- mandatoryParameters List<CommandParameter> 
- The list of mandatory parameters for the command.
- namespace
CommandNamespace 
- The namespace to which the command belongs.
- payload
CommandPayload 
- The payload associated with the command.
- pendingDeletion Boolean
- A flag indicating whether the command is pending deletion.
- roleArn String
- The customer role associated with the command.
- List<Tag>
- The tags to be associated with the command.
- commandArn string
- The Amazon Resource Name (ARN) of the command.
- createdAt string
- The date and time when the command was created.
- deprecated boolean
- A flag indicating whether the command is deprecated.
- description string
- The description of the command.
- displayName string
- The display name for the command.
- mandatoryParameters CommandParameter[] 
- The list of mandatory parameters for the command.
- namespace
CommandNamespace 
- The namespace to which the command belongs.
- payload
CommandPayload 
- The payload associated with the command.
- pendingDeletion boolean
- A flag indicating whether the command is pending deletion.
- roleArn string
- The customer role associated with the command.
- Tag[]
- The tags to be associated with the command.
- command_arn str
- The Amazon Resource Name (ARN) of the command.
- created_at str
- The date and time when the command was created.
- deprecated bool
- A flag indicating whether the command is deprecated.
- description str
- The description of the command.
- display_name str
- The display name for the command.
- mandatory_parameters Sequence[CommandParameter] 
- The list of mandatory parameters for the command.
- namespace
CommandNamespace 
- The namespace to which the command belongs.
- payload
CommandPayload 
- The payload associated with the command.
- pending_deletion bool
- A flag indicating whether the command is pending deletion.
- role_arn str
- The customer role associated with the command.
- Sequence[root_Tag]
- The tags to be associated with the command.
- commandArn String
- The Amazon Resource Name (ARN) of the command.
- createdAt String
- The date and time when the command was created.
- deprecated Boolean
- A flag indicating whether the command is deprecated.
- description String
- The description of the command.
- displayName String
- The display name for the command.
- mandatoryParameters List<Property Map>
- The list of mandatory parameters for the command.
- namespace
"AWS-IoT" | "AWS-Io T-Fleet Wise" 
- The namespace to which the command belongs.
- payload Property Map
- The payload associated with the command.
- pendingDeletion Boolean
- A flag indicating whether the command is pending deletion.
- roleArn String
- The customer role associated with the command.
- List<Property Map>
- The tags to be associated with the command.
Supporting Types
CommandNamespace 
CommandParameter 
- name String
- defaultValue Property Map
- description String
- value Property Map
CommandParameterValue  
CommandPayload 
- Content string
- ContentType string
- Content string
- ContentType string
- content String
- contentType String
- content string
- contentType string
- content str
- content_type str
- content String
- contentType String
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi