CmdID / aws / aws iotsitewise
aws iotsitewise create-gateway
Creates a gateway, which is a virtual or edge device that delivers industrial data streams from local servers to IoT SiteWise. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
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-EXAMPLE11111}Identify--gateway-nameA unique name for the gateway.--gateway-platformThe gateway's platform.Its output
{
"gatewayId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"gatewayArn": "arn:aws:iotsitewise:us-west-2:123456789012:gateway/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
}For more information, see Configuring a gateway in the AWS IoT SiteWise User Guide.
Options
--gateway-nameA unique name for the gateway.--gateway-platformThe gateway's platform.--gateway-versionThe version of the gateway to create.--tagsA list of key-value pairs that contain metadata for the gateway.