import * as core from "@terrascript/core"; export interface ParameterArgs extends core.SchemaArgs { name: string | core.StringOut; value: string | core.StringOut; } export class Parameter extends core.Schema { @core.attr(String) public name!: string | core.StringOut; @core.attr(String) public value!: string | core.StringOut; } export interface ParameterGroupArgs extends core.ResourceArgs { /** * (Optional, Forces new resource) Description for the parameter group. Defaults to `"Managed by Terraf * orm"`. */ description?: string | core.StringOut; /** * (Required, Forces new resource) The engine version that the parameter group can be used with. */ family: string | core.StringOut; /** * (Optional, Forces new resource) Name of the parameter group. If omitted, Terraform will assign a ran * dom, unique name. Conflicts with `name_prefix`. */ name?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts * with `name`. */ namePrefix?: string | core.StringOut; /** * (Optional) Set of MemoryDB parameters to apply. Any parameters not specified will fall back to their * family defaults. Detailed below. */ parameter?: core.Array | core.ArrayOut; /** * (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 ParameterGroup extends core.Resource { /** * The ARN of the parameter group. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional, Forces new resource) Description for the parameter group. Defaults to `"Managed by Terraf * orm"`. */ @core.attr(String) public description?: string | core.StringOut; /** * (Required, Forces new resource) The engine version that the parameter group can be used with. */ @core.attr(String) public family!: string | core.StringOut; /** * Same as `name`. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional, Forces new resource) Name of the parameter group. If omitted, Terraform will assign a ran * dom, unique name. Conflicts with `name_prefix`. */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts * with `name`. */ @core.attr(String, { computed: true }) public namePrefix?: string | core.StringOut; /** * (Optional) Set of MemoryDB parameters to apply. Any parameters not specified will fall back to their * family defaults. Detailed below. */ @core.attr(Parameter, { kind: "array" }) public parameter?: core.Array | core.ArrayOut; /** * (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?: ParameterGroupArgs) { super(name, "aws_memorydb_parameter_group", args); } public override getNamespace(): string { return "aws_memorydb"; } }