HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/iotsitewise/create-gateway.rst
**To create a gateway**

The following ``create-gateway`` example creates a gateway that runs on AWS IoT Greengrass. ::

    aws iotsitewise create-gateway \
        --gateway-name ExampleCorpGateway \
        --gateway-platform greengrass={groupArn=arn:aws:greengrass:us-west-2:123456789012:/greengrass/groups/a1b2c3d4-5678-90ab-cdef-1b1b1EXAMPLE}

Output::

    {
        "gatewayId": "a1b2c3d4-5678-90ab-cdef-1a1a1EXAMPLE",
        "gatewayArn": "arn:aws:iotsitewise:us-west-2:123456789012:gateway/a1b2c3d4-5678-90ab-cdef-1a1a1EXAMPLE"
    }

For more information, see `Configuring a gateway <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/configure-gateway.html>`__ in the *AWS IoT SiteWise User Guide*.