import * as core from "@terrascript/core"; export interface SubnetGroupArgs extends core.ResourceArgs { /** * The Description of the ElastiCache Subnet Group. */ description?: string | core.StringOut; /** * The Name of the ElastiCache Subnet Group. */ name: string | core.StringOut; /** * The Subnet IDs of the ElastiCache Subnet Group. */ subnetIds: core.Array | core.ArrayOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ 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 SubnetGroup extends core.Resource { @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The Description of the ElastiCache Subnet Group. */ @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The Name of the ElastiCache Subnet Group. */ @core.attr(String) public name!: string | core.StringOut; /** * The Subnet IDs of the ElastiCache Subnet Group. */ @core.attr(String, { kind: "array" }) public subnetIds!: core.Array | core.ArrayOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-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; /** * 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?: SubnetGroupArgs) { super(name, "aws_elasticache_subnet_group", args); } public override getNamespace(): string { return "aws_elasticache"; } }