import * as core from "@terrascript/core"; export interface ParameterArgs extends core.SchemaArgs { applyMethod?: string | core.StringOut; name: string | core.StringOut; value: string | core.StringOut; } export class Parameter extends core.Schema { @core.attr(String) public applyMethod?: string | core.StringOut; @core.attr(String) public name!: string | core.StringOut; @core.attr(String) public value!: string | core.StringOut; } export interface ClusterParameterGroupArgs extends core.ResourceArgs { /** * (Optional, Forces new resource) The description of the documentDB cluster parameter group. Defaults * to "Managed by Terraform". */ description?: string | core.StringOut; /** * (Required, Forces new resource) The family of the documentDB cluster parameter group. */ family: string | core.StringOut; /** * (Optional, Forces new resource) The name of the documentDB cluster parameter group. If omitted, Terr * aform will assign a random, unique name. */ 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) A list of documentDB parameters to apply. Setting parameters to system default values may * show a difference on imported resources. */ 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 ClusterParameterGroup extends core.Resource { /** * The ARN of the documentDB cluster parameter group. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional, Forces new resource) The description of the documentDB cluster parameter group. Defaults * to "Managed by Terraform". */ @core.attr(String) public description?: string | core.StringOut; /** * (Required, Forces new resource) The family of the documentDB cluster parameter group. */ @core.attr(String) public family!: string | core.StringOut; /** * The documentDB cluster parameter group name. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional, Forces new resource) The name of the documentDB cluster parameter group. If omitted, Terr * aform will assign a random, unique name. */ @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) A list of documentDB parameters to apply. Setting parameters to system default values may * show a difference on imported resources. */ @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?: ClusterParameterGroupArgs) { super(name, "aws_docdb_cluster_parameter_group", args); } public override getNamespace(): string { return "aws_docdb"; } }