import * as core from "@terrascript/core"; export interface DataSetArgs extends core.ResourceArgs { /** * (Required) The type of asset that is added to a data set. Valid values are: `S3_SNAPSHOT`, `REDSHIFT * _DATA_SHARE`, and `API_GATEWAY_API`. */ assetType: string | core.StringOut; /** * (Required) A description for the data set. */ description: string | core.StringOut; /** * (Required) The name of the data set. */ name: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class DataSet extends core.Resource { /** * The Amazon Resource Name of this data set. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The type of asset that is added to a data set. Valid values are: `S3_SNAPSHOT`, `REDSHIFT * _DATA_SHARE`, and `API_GATEWAY_API`. */ @core.attr(String) public assetType!: string | core.StringOut; /** * (Required) A description for the data set. */ @core.attr(String) public description!: string | core.StringOut; /** * The Id of the data set. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the data set. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: DataSetArgs) { super(name, "aws_dataexchange_data_set", args); } public override getNamespace(): string { return "aws_dataexchange"; } }