/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * The gateway's platform. You can only specify one platform in a gateway. */ export type GatewayPlatform = { Greengrass?: Greengrass; GreengrassV2?: GreengrassV2; } & { [k: string]: unknown; }; /** * The namespace of the capability configuration. */ export type CapabilityNamespace = string; /** * The JSON document that defines the gateway capability's configuration. */ export type CapabilityConfiguration = string; /** * Resource schema for AWS::IoTSiteWise::Gateway */ export interface AwsIotsitewiseGateway { /** * A unique, friendly name for the gateway. */ GatewayName: string; GatewayPlatform: GatewayPlatform; /** * A list of key-value pairs that contain metadata for the gateway. */ Tags?: Tag[]; /** * The ID of the gateway device. */ GatewayId?: string; /** * A list of gateway capability summaries that each contain a namespace and status. */ GatewayCapabilitySummaries?: GatewayCapabilitySummary[]; } /** * A gateway that runs on AWS IoT Greengrass V1. */ export interface Greengrass { /** * The ARN of the Greengrass group. */ GroupArn: string; } /** * A gateway that runs on AWS IoT Greengrass V2. */ export interface GreengrassV2 { /** * The name of the CoreDevice in GreenGrass V2. */ CoreDeviceThingName: string; } /** * To add or update tag, provide both key and value. To delete tag, provide only tag key to be deleted */ export interface Tag { Key: string; Value: string; } /** * Contains a summary of a gateway capability configuration. */ export interface GatewayCapabilitySummary { CapabilityNamespace: CapabilityNamespace; CapabilityConfiguration?: CapabilityConfiguration; }