import * as core from "@terrascript/core"; export interface DsApiKeyArgs { /** * (Required) The ID of the API Key to look up. */ id: string | core.StringOut; /** * A map of tags for the resource. */ tags?: core.Map | core.MapOut; } export class DsApiKey extends core.Data { /** * The date and time when the API Key was created. */ @core.attr(String, { computed: true }) public createdDate!: string | core.StringOut; /** * The description of the API Key. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * Specifies whether the API Key is enabled. */ @core.attr(Boolean, { computed: true }) public enabled!: boolean | core.BooleanOut; /** * (Required) The ID of the API Key to look up. */ @core.attr(String) public id!: string | core.StringOut; /** * The date and time when the API Key was last updated. */ @core.attr(String, { computed: true }) public lastUpdatedDate!: string | core.StringOut; /** * Set to the name of the API Key. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * A map of tags for the resource. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * Set to the value of the API Key. */ @core.attr(String, { computed: true }) public value!: string | core.StringOut; constructor(name: string, args?: DsApiKeyArgs) { super(name, "aws_api_gateway_api_key", args); } public override getNamespace(): string { return "aws_api_gateway"; } }