CmdID

CmdID / aws / aws iotwireless

aws iotwireless create-wireless-gateway-task-definition

Creates a gateway task definition. AWS CLI reference

1 example 5 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 a wireless gateway task definition

The following create-wireless-gateway-task-definition example automatically creates tasks using this task definition for all gateways with the specified current version.

aws iotwireless create-wireless-gateway-task-definition --cli-input-json file://input.jsonIdentify

Contents of input.json:

{
    "AutoCreateTasks": true,
    "Name": "TestAutoUpdate",
    "Update":{
        "UpdateDataSource" : "s3://amzn-s3-demo-bucket/station",
        "UpdateDataRole" : "arn:aws:iam::123456789012:role/SDK_Test_Role",
        "LoRaWAN" :{
            "CurrentVersion" :{
                "PackageVersion" : "1.0.0",
                "Station" : "2.0.5",
                "Model" : "linux"
            },
            "UpdateVersion" :{
                "PackageVersion" : "1.0.1",
                "Station" : "2.0.5",
                "Model" : "minihub"
            }
        }
    }
}
Its output
{
    "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}

For more information, see Connecting devices and gateways to AWS IoT Core for LoRaWAN in the AWS IoT Developers Guide.

Options

5 in the AWS CLI reference
--auto-create-tasksWhether to automatically create tasks using this task definition for all gateways with the specified current version.
--client-request-tokenEach resource must have a unique client request token.
--nameThe name of the new resource.
--tagsThe tags to attach to the specified resource.
--updateInformation about the gateways to update.