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) The description of the ElastiCache parameter group. Defaults to "Managed by Terraform". */ description?: string | core.StringOut; /** * (Required) The family of the ElastiCache parameter group. */ family: string | core.StringOut; /** * (Required) The name of the ElastiCache parameter group. */ name: string | core.StringOut; /** * (Optional) A list of ElastiCache parameters to apply. */ parameter?: core.Array | core.ArrayOut; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-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 ParameterGroup extends core.Resource { /** * The AWS ARN associated with the parameter group. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The description of the ElastiCache parameter group. Defaults to "Managed by Terraform". */ @core.attr(String) public description?: string | core.StringOut; /** * (Required) The family of the ElastiCache parameter group. */ @core.attr(String) public family!: string | core.StringOut; /** * The ElastiCache parameter group name. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the ElastiCache parameter group. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) A list of ElastiCache parameters to apply. */ @core.attr(Parameter, { kind: "array" }) public parameter?: core.Array | core.ArrayOut; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-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?: ParameterGroupArgs) { super(name, "aws_elasticache_parameter_group", args); } public override getNamespace(): string { return "aws_elasticache"; } }