@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)
47 lines (46 loc) • 1.75 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::IoT::ThingType
*/
export declare function getThingType(args: GetThingTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetThingTypeResult>;
export interface GetThingTypeArgs {
/**
* The name of the thing type.
*/
thingTypeName: string;
}
export interface GetThingTypeResult {
/**
* The thing type arn.
*/
readonly arn?: string;
/**
* Deprecates a thing type. You can not associate new things with deprecated thing type.
*
* Requires permission to access the [DeprecateThingType](https://docs.aws.amazon.com//service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action.
*/
readonly deprecateThingType?: boolean;
/**
* The thing type id.
*/
readonly id?: string;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags?: outputs.Tag[];
/**
* The thing type properties for the thing type to create. It contains information about the new thing type including a description, a list of searchable thing attribute names, and a list of propagating attributes. After a thing type is created, you can only update `Mqtt5Configuration` .
*/
readonly thingTypeProperties?: outputs.iot.ThingTypePropertiesProperties;
}
/**
* Resource Type definition for AWS::IoT::ThingType
*/
export declare function getThingTypeOutput(args: GetThingTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetThingTypeResult>;
export interface GetThingTypeOutputArgs {
/**
* The name of the thing type.
*/
thingTypeName: pulumi.Input<string>;
}