UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

41 lines (40 loc) 1.45 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::IoT::Thing */ export declare function getThing(args: GetThingArgs, opts?: pulumi.InvokeOptions): Promise<GetThingResult>; export interface GetThingArgs { /** * The name of the thing to update. * * You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing. */ thingName: string; } export interface GetThingResult { /** * The Amazon Resource Name (ARN) of the AWS IoT thing, such as `arn:aws:iot:us-east-2:123456789012:thing/MyThing` . */ readonly arn?: string; /** * A string that contains up to three key value pairs. Maximum length of 800. Duplicates not allowed. */ readonly attributePayload?: outputs.iot.ThingAttributePayload; /** * The Id of this thing. */ readonly id?: string; } /** * Resource Type definition for AWS::IoT::Thing */ export declare function getThingOutput(args: GetThingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetThingResult>; export interface GetThingOutputArgs { /** * The name of the thing to update. * * You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing. */ thingName: pulumi.Input<string>; }