import * as core from "@terrascript/core"; export interface PropertiesArgs extends core.SchemaArgs { description?: string | core.StringOut; searchableAttributes?: core.Array | core.ArrayOut; } export class Properties extends core.Schema { @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true, kind: "array" }) public searchableAttributes?: | core.Array | core.ArrayOut; } export interface ThingTypeArgs extends core.ResourceArgs { /** * (Optional, Defaults to false) Whether the thing type is deprecated. If true, no new things could be * associated with this type. */ deprecated?: boolean | core.BooleanOut; /** * (Required, Forces New Resource) The name of the thing type. */ name: string | core.StringOut; /** * (Optional), Configuration block that can contain the following properties of the thing type: */ properties?: Properties; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * Map of tags assigned to the resource, including those inherited from the provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block). */ tagsAll?: core.Map | core.MapOut; } export class ThingType extends core.Resource { /** * The ARN of the created AWS IoT Thing Type. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional, Defaults to false) Whether the thing type is deprecated. If true, no new things could be * associated with this type. */ @core.attr(Boolean) public deprecated?: boolean | core.BooleanOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required, Forces New Resource) The name of the thing type. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional), Configuration block that can contain the following properties of the thing type: */ @core.attr(Properties) public properties?: Properties; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * Map of tags assigned to the resource, including those inherited from the provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: ThingTypeArgs) { super(name, "aws_iot_thing_type", args); } public override getNamespace(): string { return "aws_iot"; } }