import * as core from "@terrascript/core"; export interface ClusterInstanceArgs extends core.ResourceArgs { /** * (Optional) Specifies whether any database modifications */ applyImmediately?: boolean | core.BooleanOut; /** * (Optional) Indicates that minor engine upgrades will be applied automatically to the DB instance dur * ing the maintenance window. Default `true`. */ autoMinorVersionUpgrade?: boolean | core.BooleanOut; /** * (Optional, Computed) The EC2 Availability Zone that the DB instance is created in. See [docs](https: * //docs.aws.amazon.com/documentdb/latest/developerguide/API_CreateDBInstance.html) about the details. */ availabilityZone?: string | core.StringOut; /** * (Optional) The identifier of the CA certificate for the DB instance. */ caCertIdentifier?: string | core.StringOut; /** * (Required) The identifier of the [`aws_docdb_cluster`](/docs/providers/aws/r/docdb_cluster.html) in * which to launch this instance. */ clusterIdentifier: string | core.StringOut; /** * (Optional) The name of the database engine to be used for the DocDB instance. Defaults to `docdb`. V * alid Values: `docdb`. */ engine?: string | core.StringOut; /** * (Optional, Forces new resource) The identifier for the DocDB instance, if omitted, Terraform will as * sign a random, unique identifier. */ identifier?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique identifier beginning with the specified prefix. Con * flicts with `identifier`. */ identifierPrefix?: string | core.StringOut; /** * (Required) The instance class to use. For details on CPU and memory, see [Scaling for DocDB Instance * s][2]. DocDB currently */ instanceClass: string | core.StringOut; /** * (Optional) The window to perform maintenance in. */ preferredMaintenanceWindow?: string | core.StringOut; /** * (Optional) Default 0. Failover Priority setting on instance level. The reader who has lower tier has * higher priority to get promoter to writer. */ promotionTier?: number | core.NumberOut; /** * (Optional) A map of tags to assign to the instance. 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 declare class ClusterInstance extends core.Resource { /** * (Optional) Specifies whether any database modifications */ applyImmediately?: boolean | core.BooleanOut; /** * Amazon Resource Name (ARN) of cluster instance */ arn: string | core.StringOut; /** * (Optional) Indicates that minor engine upgrades will be applied automatically to the DB instance dur * ing the maintenance window. Default `true`. */ autoMinorVersionUpgrade?: boolean | core.BooleanOut; /** * (Optional, Computed) The EC2 Availability Zone that the DB instance is created in. See [docs](https: * //docs.aws.amazon.com/documentdb/latest/developerguide/API_CreateDBInstance.html) about the details. */ availabilityZone?: string | core.StringOut; /** * (Optional) The identifier of the CA certificate for the DB instance. */ caCertIdentifier?: string | core.StringOut; /** * (Required) The identifier of the [`aws_docdb_cluster`](/docs/providers/aws/r/docdb_cluster.html) in * which to launch this instance. */ clusterIdentifier: string | core.StringOut; /** * The DB subnet group to associate with this DB instance. */ dbSubnetGroupName: string | core.StringOut; /** * The region-unique, immutable identifier for the DB instance. */ dbiResourceId: string | core.StringOut; /** * The DNS address for this instance. May not be writable */ endpoint: string | core.StringOut; /** * (Optional) The name of the database engine to be used for the DocDB instance. Defaults to `docdb`. V * alid Values: `docdb`. */ engine?: string | core.StringOut; /** * The database engine version */ engineVersion: string | core.StringOut; id: string | core.StringOut; /** * (Optional, Forces new resource) The identifier for the DocDB instance, if omitted, Terraform will as * sign a random, unique identifier. */ identifier?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique identifier beginning with the specified prefix. Con * flicts with `identifier`. */ identifierPrefix?: string | core.StringOut; /** * (Required) The instance class to use. For details on CPU and memory, see [Scaling for DocDB Instance * s][2]. DocDB currently */ instanceClass: string | core.StringOut; /** * The ARN for the KMS encryption key if one is set to the cluster. */ kmsKeyId: string | core.StringOut; /** * The database port */ port: number | core.NumberOut; /** * The daily time range during which automated backups are created if automated backups are enabled. */ preferredBackupWindow: string | core.StringOut; /** * (Optional) The window to perform maintenance in. */ preferredMaintenanceWindow?: string | core.StringOut; /** * (Optional) Default 0. Failover Priority setting on instance level. The reader who has lower tier has * higher priority to get promoter to writer. */ promotionTier?: number | core.NumberOut; publiclyAccessible: boolean | core.BooleanOut; /** * Specifies whether the DB cluster is encrypted. */ storageEncrypted: boolean | core.BooleanOut; /** * (Optional) A map of tags to assign to the instance. 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; writer: boolean | core.BooleanOut; constructor(name: string, args?: ClusterInstanceArgs); getNamespace(): string; } //# sourceMappingURL=cluster_instance.d.ts.map