interface CfnCommandProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnCommandProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnCommandProps |
![]() | software.amazon.awscdk.services.iot.CfnCommandProps |
![]() | aws_cdk.aws_iot.CfnCommandProps |
![]() | aws-cdk-lib » aws_iot » CfnCommandProps |
Properties for defining a CfnCommand
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const cfnCommandProps: iot.CfnCommandProps = {
commandId: 'commandId',
// the properties below are optional
createdAt: 'createdAt',
deprecated: false,
description: 'description',
displayName: 'displayName',
lastUpdatedAt: 'lastUpdatedAt',
mandatoryParameters: [{
name: 'name',
// the properties below are optional
defaultValue: {
b: false,
bin: 'bin',
d: 123,
i: 123,
l: 'l',
s: 's',
ul: 'ul',
},
description: 'description',
value: {
b: false,
bin: 'bin',
d: 123,
i: 123,
l: 'l',
s: 's',
ul: 'ul',
},
}],
namespace: 'namespace',
payload: {
content: 'content',
contentType: 'contentType',
},
pendingDeletion: false,
roleArn: 'roleArn',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
command | string | The unique identifier of the command. |
created | string | The timestamp, when the command was created. |
deprecated? | boolean | IResolvable | Indicates whether the command has been deprecated. |
description? | string | The description of the command parameter. |
display | string | The display name of the command. |
last | string | The timestamp, when the command was last updated. |
mandatory | IResolvable | IResolvable | Command [] | |
namespace? | string | The namespace to which the command belongs. |
payload? | IResolvable | Command | |
pending | boolean | IResolvable | Indicates whether the command is pending deletion. |
role | string | The customer role associated with the command. |
tags? | Cfn [] | The tags to be associated with the command. |
commandId
Type:
string
The unique identifier of the command.
createdAt?
Type:
string
(optional)
The timestamp, when the command was created.
deprecated?
Type:
boolean |
IResolvable
(optional)
Indicates whether the command has been deprecated.
description?
Type:
string
(optional)
The description of the command parameter.
displayName?
Type:
string
(optional)
The display name of the command.
lastUpdatedAt?
Type:
string
(optional)
The timestamp, when the command was last updated.
mandatoryParameters?
Type:
IResolvable
|
IResolvable
|
Command
[]
(optional)
namespace?
Type:
string
(optional)
The namespace to which the command belongs.
payload?
Type:
IResolvable
|
Command
(optional)
pendingDeletion?
Type:
boolean |
IResolvable
(optional)
Indicates whether the command is pending deletion.
roleArn?
Type:
string
(optional)
The customer role associated with the command.
tags?
Type:
Cfn
[]
(optional)
The tags to be associated with the command.