CmdID

CmdID / aws / aws iotwireless

aws iotwireless create-destination

Creates a new destination that maps a device message to an AWS IoT rule. AWS CLI reference

1 example 7 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create an IoT wireless destination

The following create-destination example creates a destination for mapping a device message to an AWS IoT rule. Before you run this command, you must have created an IAM role that gives AWS IoT Core for LoRaWAN the permissions necessary to send data to the AWS IoT rule.

aws iotwireless create-destination --name IoTWirelessDestination --expression-type RuleName --expression IoTWirelessRule --role-arn arn:aws:iam::123456789012:role/IoTWirelessDestinationRoleIdentify
--nameThe name of the new resource.
--expression-typeThe type of value in Expression.
--expressionThe rule name or topic rule to send messages to.
--role-arnThe ARN of the IAM Role that authorizes the destination.
Its output
{
    "Arn": "arn:aws:iotwireless:us-west-2:123456789012:Destination/IoTWirelessDestination",
    "Name": "IoTWirelessDestination"
}

For more information, see Add destinations to AWS IoT Core for LoRaWAN in the AWS IoT Developers Guide.

Options

7 in the AWS CLI reference
--client-request-tokenEach resource must have a unique client request token.
--descriptionThe description of the new resource.
--expression-typeThe type of value in Expression.
--expressionThe rule name or topic rule to send messages to.
--nameThe name of the new resource.
--role-arnThe ARN of the IAM Role that authorizes the destination.
--tagsThe tags to attach to the new destination.