import * as core from "@terrascript/core"; export interface DataSourceConfigurationArgs extends core.SchemaArgs { intendedUse: string | core.StringOut; } export class DataSourceConfiguration extends core.Schema { @core.attr(String, { computed: true }) public intendedUse!: string | core.StringOut; } export interface DsPlaceIndexArgs { /** * (Required) The name of the place index resource. */ indexName: string | core.StringOut; /** * Key-value map of resource tags for the place index. */ tags?: core.Map | core.MapOut; } export class DsPlaceIndex extends core.Data { /** * The timestamp for when the place index resource was created in ISO 8601 format. */ @core.attr(String, { computed: true }) public createTime!: string | core.StringOut; /** * The data provider of geospatial data. */ @core.attr(String, { computed: true }) public dataSource!: string | core.StringOut; /** * List of configurations that specify data storage option for requesting Places. */ @core.attr(DataSourceConfiguration, { computed: true, kind: "array" }) public dataSourceConfiguration!: | core.Array | core.ArrayOut; /** * The optional description for the place index resource. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The Amazon Resource Name (ARN) for the place index resource. */ @core.attr(String, { computed: true }) public indexArn!: string | core.StringOut; /** * (Required) The name of the place index resource. */ @core.attr(String) public indexName!: string | core.StringOut; /** * Key-value map of resource tags for the place index. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The timestamp for when the place index resource was last updated in ISO 8601 format. */ @core.attr(String, { computed: true }) public updateTime!: string | core.StringOut; constructor(name: string, args?: DsPlaceIndexArgs) { super(name, "aws_location_place_index", args); } public override getNamespace(): string { return "aws_location"; } }