import * as core from "@terrascript/core"; export interface Serverlessv2ScalingConfigurationArgs extends core.SchemaArgs { maxCapacity: number | core.NumberOut; minCapacity: number | core.NumberOut; } export declare class Serverlessv2ScalingConfiguration extends core.Schema { maxCapacity: number | core.NumberOut; minCapacity: number | core.NumberOut; } export interface ScalingConfigurationArgs extends core.SchemaArgs { autoPause?: boolean | core.BooleanOut; maxCapacity?: number | core.NumberOut; minCapacity?: number | core.NumberOut; secondsUntilAutoPause?: number | core.NumberOut; timeoutAction?: string | core.StringOut; } export declare class ScalingConfiguration extends core.Schema { autoPause?: boolean | core.BooleanOut; maxCapacity?: number | core.NumberOut; minCapacity?: number | core.NumberOut; secondsUntilAutoPause?: number | core.NumberOut; timeoutAction?: string | core.StringOut; } export interface S3ImportArgs extends core.SchemaArgs { bucketName: string | core.StringOut; bucketPrefix?: string | core.StringOut; ingestionRole: string | core.StringOut; sourceEngine: string | core.StringOut; sourceEngineVersion: string | core.StringOut; } export declare class S3Import extends core.Schema { bucketName: string | core.StringOut; bucketPrefix?: string | core.StringOut; ingestionRole: string | core.StringOut; sourceEngine: string | core.StringOut; sourceEngineVersion: string | core.StringOut; } export interface RestoreToPointInTimeArgs extends core.SchemaArgs { restoreToTime?: string | core.StringOut; restoreType?: string | core.StringOut; sourceClusterIdentifier: string | core.StringOut; useLatestRestorableTime?: boolean | core.BooleanOut; } export declare class RestoreToPointInTime extends core.Schema { restoreToTime?: string | core.StringOut; restoreType?: string | core.StringOut; sourceClusterIdentifier: string | core.StringOut; useLatestRestorableTime?: boolean | core.BooleanOut; } export interface ClusterArgs extends core.ResourceArgs { /** * (Optional) The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ * DB cluster. (This setting is required to create a Multi-AZ DB cluster). */ allocatedStorage?: number | core.NumberOut; /** * (Optional) Enable to allow major engine version upgrades when changing engine versions. Defaults to * false`. */ allowMajorVersionUpgrade?: boolean | core.BooleanOut; /** * (Optional) Specifies whether any cluster modifications are applied immediately, or during the next m * aintenance window. Default is `false`. See [Amazon RDS Documentation for more information.](https:// * docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html) */ applyImmediately?: boolean | core.BooleanOut; /** * (Optional) List of EC2 Availability Zones for the DB cluster storage where DB cluster instances can * be created. RDS automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a * difference requiring resource recreation next Terraform apply. We recommend specifying 3 AZs or usin * g [the `lifecycle` configuration block `ignore_changes` argument](https://www.terraform.io/docs/conf * iguration/meta-arguments/lifecycle.html#ignore_changes) if necessary. */ availabilityZones?: core.Array | core.ArrayOut; /** * (Optional) The target backtrack window, in seconds. Only available for `aurora` and `aurora-mysql` e * ngines currently. To disable backtracking, set this value to `0`. Defaults to `0`. Must be between ` * 0` and `259200` (72 hours) */ backtrackWindow?: number | core.NumberOut; /** * (Optional) The days to retain backups for. Default `1` */ backupRetentionPeriod?: number | core.NumberOut; /** * (Optional, Forces new resources) The cluster identifier. If omitted, Terraform will assign a random, * unique identifier. */ clusterIdentifier?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique cluster identifier beginning with the specified pre * fix. Conflicts with `cluster_identifier`. */ clusterIdentifierPrefix?: string | core.StringOut; clusterMembers?: core.Array | core.ArrayOut; copyTagsToSnapshot?: boolean | core.BooleanOut; /** * (Optional) Name for an automatically created database on cluster creation. There are different namin * g restrictions per database engine: [RDS Naming Constraints][5] */ databaseName?: string | core.StringOut; /** * (Optional) The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for examp * le db.m6g.xlarge. Not all DB instance classes are available in all AWS Regions, or for all database * engines. For the full list of DB instance classes and availability for your engine, see [DB instance * class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) in the * Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). */ dbClusterInstanceClass?: string | core.StringOut; /** * (Optional) A cluster parameter group to associate with the cluster. */ dbClusterParameterGroupName?: string | core.StringOut; /** * (Optional) Instance parameter group to associate with all instances of the DB cluster. The `db_insta * nce_parameter_group_name` parameter is only valid in combination with the `allow_major_version_upgra * de` parameter. */ dbInstanceParameterGroupName?: string | core.StringOut; /** * (Optional) A DB subnet group to associate with this DB instance. **NOTE:** This must match the `db_s * ubnet_group_name` specified on every [`aws_rds_cluster_instance`](/docs/providers/aws/r/rds_cluster_ * instance.html) in the cluster. */ dbSubnetGroupName?: string | core.StringOut; /** * (Optional) If the DB instance should have deletion protection enabled. The database can't be deleted * when this value is set to `true`. The default is `false`. */ deletionProtection?: boolean | core.BooleanOut; /** * (Optional) Whether cluster should forward writes to an associated global cluster. Applied to seconda * ry clusters to enable them to forward writes to an [`aws_rds_global_cluster`](/docs/providers/aws/r/ * rds_global_cluster.html)'s primary cluster. See the [Aurora Userguide documentation](https://docs.aw * s.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-write-forwarding.html) for more * information. */ enableGlobalWriteForwarding?: boolean | core.BooleanOut; /** * (Optional) Enable HTTP endpoint (data API). Only valid when `engine_mode` is set to `serverless`. */ enableHttpEndpoint?: boolean | core.BooleanOut; /** * (Optional) Set of log types to export to cloudwatch. If omitted, no logs will be exported. The follo * wing log types are supported: `audit`, `error`, `general`, `slowquery`, `postgresql` (PostgreSQL). */ enabledCloudwatchLogsExports?: core.Array | core.ArrayOut; /** * (Optional) The name of the database engine to be used for this DB cluster. Defaults to `aurora`. Val * id Values: `aurora`, `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`. (Note that `mysql` an * d `postgres` are Multi-AZ RDS clusters). */ engine?: string | core.StringOut; /** * (Optional) The database engine mode. Valid values: `global` (only valid for Aurora MySQL 1.21 and ea * rlier), `multimaster`, `parallelquery`, `provisioned`, `serverless`. Defaults to: `provisioned`. See * the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/aurora-serverless.html) * for limitations when using `serverless`. */ engineMode?: string | core.StringOut; /** * (Optional) The database engine version. Updating this argument results in an outage. See the [Aurora * MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) and [ * Aurora Postgres](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updat * es.html) documentation for your configured engine to determine this value. For example with Aurora M * ySQL 2, a potential value for this argument is `5.7.mysql_aurora.2.03.2`. The value can contain a pa * rtial version where supported by the API. The actual engine version used is returned in the attribut * e `engine_version_actual`, , see [Attributes Reference](#attributes-reference) below. */ engineVersion?: string | core.StringOut; /** * (Optional) The name of your final DB snapshot when this DB cluster is deleted. If omitted, no final * snapshot will be made. */ finalSnapshotIdentifier?: string | core.StringOut; /** * (Optional) The global cluster identifier specified on [`aws_rds_global_cluster`](/docs/providers/aws * /r/rds_global_cluster.html). */ globalClusterIdentifier?: string | core.StringOut; /** * (Optional) Specifies whether or not mappings of AWS Identity and Access Management (IAM) accounts to * database accounts is enabled. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/ * latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) for availability and limitations. */ iamDatabaseAuthenticationEnabled?: boolean | core.BooleanOut; /** * (Optional) A List of ARNs for the IAM roles to associate to the RDS Cluster. */ iamRoles?: core.Array | core.ArrayOut; /** * (Optional) The amount of Provisioned IOPS (input/output operations per second) to be initially alloc * ated for each DB instance in the Multi-AZ DB cluster. For information about valid Iops values, see [ * Amazon RDS Provisioned IOPS storage to improve performance](https://docs.aws.amazon.com/AmazonRDS/la * test/UserGuide/CHAP_Storage.html#USER_PIOPS) in the Amazon RDS User Guide. (This setting is required * to create a Multi-AZ DB cluster). Must be a multiple between .5 and 50 of the storage amount for th * e DB cluster. */ iops?: number | core.NumberOut; /** * (Optional) The ARN for the KMS encryption key. When specifying `kms_key_id`, `storage_encrypted` nee * ds to be set to true. */ kmsKeyId?: string | core.StringOut; /** * (Required unless a `snapshot_identifier` or `replication_source_identifier` is provided or unless a * global_cluster_identifier` is provided when the cluster is the "secondary" cluster of a global data * base) Password for the master DB user. Note that this may show up in logs, and it will be stored in * the state file. Please refer to the [RDS Naming Constraints][5] */ masterPassword?: string | core.StringOut; /** * (Required unless a `snapshot_identifier` or `replication_source_identifier` is provided or unless a * global_cluster_identifier` is provided when the cluster is the "secondary" cluster of a global data * base) Username for the master DB user. Please refer to the [RDS Naming Constraints][5]. This argumen * t does not support in-place updates and cannot be changed during a restore from snapshot. */ masterUsername?: string | core.StringOut; /** * (Optional) The port on which the DB accepts connections */ port?: number | core.NumberOut; /** * (Optional) The daily time range during which automated backups are created if automated backups are * enabled using the BackupRetentionPeriod parameter.Time in UTC. Default: A 30-minute window selected * at random from an 8-hour block of time per regionE.g., 04:00-09:00 */ preferredBackupWindow?: string | core.StringOut; /** * (Optional) The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00 * wed:04:30 */ preferredMaintenanceWindow?: string | core.StringOut; /** * (Optional) ARN of a source DB cluster or DB instance if this DB cluster is to be created as a Read R * eplica. If DB Cluster is part of a Global Cluster, use the [`lifecycle` configuration block `ignore_ * changes` argument](https://www.terraform.io/docs/configuration/meta-arguments/lifecycle.html#ignore_ * changes) to prevent Terraform from showing differences for this argument instead of configuring this * value. */ replicationSourceIdentifier?: string | core.StringOut; /** * (Optional) Nested attribute for [point in time restore](https://docs.aws.amazon.com/AmazonRDS/latest * /AuroraUserGuide/USER_PIT.html). More details below. */ restoreToPointInTime?: RestoreToPointInTime; s3Import?: S3Import; /** * (Optional) Nested attribute with scaling properties. Only valid when `engine_mode` is set to `server * less`. More details below. */ scalingConfiguration?: ScalingConfiguration; serverlessv2ScalingConfiguration?: Serverlessv2ScalingConfiguration; /** * (Optional) Determines whether a final DB snapshot is created before the DB cluster is deleted. If tr * ue is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before t * he DB cluster is deleted, using the value from `final_snapshot_identifier`. Default is `false`. */ skipFinalSnapshot?: boolean | core.BooleanOut; /** * (Optional) Specifies whether or not to create this cluster from a snapshot. You can use either the n * ame or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. */ snapshotIdentifier?: string | core.StringOut; /** * (Optional) The source region for an encrypted replica DB cluster. */ sourceRegion?: string | core.StringOut; /** * (Optional) Specifies whether the DB cluster is encrypted. The default is `false` for `provisioned` ` * engine_mode` and `true` for `serverless` `engine_mode`. When restoring an unencrypted `snapshot_iden * tifier`, the `kms_key_id` argument must be provided to encrypt the restored cluster. Terraform will * only perform drift detection if a configuration value is provided. */ storageEncrypted?: boolean | core.BooleanOut; /** * (Optional) Specifies the storage type to be associated with the DB cluster. (This setting is require * d to create a Multi-AZ DB cluster). Valid values: `io1`, Default: `io1`. */ storageType?: string | core.StringOut; /** * (Optional) A map of tags to assign to the DB cluster. If configured with a provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block) present, tags with matching keys will overwrite those defined at the provider-l * evel. */ 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; /** * (Optional) List of VPC security groups to associate with the Cluster */ vpcSecurityGroupIds?: core.Array | core.ArrayOut; } export declare class Cluster extends core.Resource { /** * (Optional) The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ * DB cluster. (This setting is required to create a Multi-AZ DB cluster). */ allocatedStorage?: number | core.NumberOut; /** * (Optional) Enable to allow major engine version upgrades when changing engine versions. Defaults to * false`. */ allowMajorVersionUpgrade?: boolean | core.BooleanOut; /** * (Optional) Specifies whether any cluster modifications are applied immediately, or during the next m * aintenance window. Default is `false`. See [Amazon RDS Documentation for more information.](https:// * docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html) */ applyImmediately?: boolean | core.BooleanOut; /** * Amazon Resource Name (ARN) of cluster */ arn: string | core.StringOut; /** * (Optional) List of EC2 Availability Zones for the DB cluster storage where DB cluster instances can * be created. RDS automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a * difference requiring resource recreation next Terraform apply. We recommend specifying 3 AZs or usin * g [the `lifecycle` configuration block `ignore_changes` argument](https://www.terraform.io/docs/conf * iguration/meta-arguments/lifecycle.html#ignore_changes) if necessary. */ availabilityZones?: core.Array | core.ArrayOut; /** * (Optional) The target backtrack window, in seconds. Only available for `aurora` and `aurora-mysql` e * ngines currently. To disable backtracking, set this value to `0`. Defaults to `0`. Must be between ` * 0` and `259200` (72 hours) */ backtrackWindow?: number | core.NumberOut; /** * (Optional) The days to retain backups for. Default `1` */ backupRetentionPeriod?: number | core.NumberOut; /** * (Optional, Forces new resources) The cluster identifier. If omitted, Terraform will assign a random, * unique identifier. */ clusterIdentifier?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique cluster identifier beginning with the specified pre * fix. Conflicts with `cluster_identifier`. */ clusterIdentifierPrefix?: string | core.StringOut; clusterMembers?: core.Array | core.ArrayOut; /** * The RDS Cluster Resource ID */ clusterResourceId: string | core.StringOut; copyTagsToSnapshot?: boolean | core.BooleanOut; /** * (Optional) Name for an automatically created database on cluster creation. There are different namin * g restrictions per database engine: [RDS Naming Constraints][5] */ databaseName?: string | core.StringOut; /** * (Optional) The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for examp * le db.m6g.xlarge. Not all DB instance classes are available in all AWS Regions, or for all database * engines. For the full list of DB instance classes and availability for your engine, see [DB instance * class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) in the * Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). */ dbClusterInstanceClass?: string | core.StringOut; /** * (Optional) A cluster parameter group to associate with the cluster. */ dbClusterParameterGroupName?: string | core.StringOut; /** * (Optional) Instance parameter group to associate with all instances of the DB cluster. The `db_insta * nce_parameter_group_name` parameter is only valid in combination with the `allow_major_version_upgra * de` parameter. */ dbInstanceParameterGroupName?: string | core.StringOut; /** * (Optional) A DB subnet group to associate with this DB instance. **NOTE:** This must match the `db_s * ubnet_group_name` specified on every [`aws_rds_cluster_instance`](/docs/providers/aws/r/rds_cluster_ * instance.html) in the cluster. */ dbSubnetGroupName?: string | core.StringOut; /** * (Optional) If the DB instance should have deletion protection enabled. The database can't be deleted * when this value is set to `true`. The default is `false`. */ deletionProtection?: boolean | core.BooleanOut; /** * (Optional) Whether cluster should forward writes to an associated global cluster. Applied to seconda * ry clusters to enable them to forward writes to an [`aws_rds_global_cluster`](/docs/providers/aws/r/ * rds_global_cluster.html)'s primary cluster. See the [Aurora Userguide documentation](https://docs.aw * s.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-write-forwarding.html) for more * information. */ enableGlobalWriteForwarding?: boolean | core.BooleanOut; /** * (Optional) Enable HTTP endpoint (data API). Only valid when `engine_mode` is set to `serverless`. */ enableHttpEndpoint?: boolean | core.BooleanOut; /** * (Optional) Set of log types to export to cloudwatch. If omitted, no logs will be exported. The follo * wing log types are supported: `audit`, `error`, `general`, `slowquery`, `postgresql` (PostgreSQL). */ enabledCloudwatchLogsExports?: core.Array | core.ArrayOut; /** * The DNS address of the RDS instance */ endpoint: string | core.StringOut; /** * (Optional) The name of the database engine to be used for this DB cluster. Defaults to `aurora`. Val * id Values: `aurora`, `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`. (Note that `mysql` an * d `postgres` are Multi-AZ RDS clusters). */ engine?: string | core.StringOut; /** * (Optional) The database engine mode. Valid values: `global` (only valid for Aurora MySQL 1.21 and ea * rlier), `multimaster`, `parallelquery`, `provisioned`, `serverless`. Defaults to: `provisioned`. See * the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/aurora-serverless.html) * for limitations when using `serverless`. */ engineMode?: string | core.StringOut; /** * (Optional) The database engine version. Updating this argument results in an outage. See the [Aurora * MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) and [ * Aurora Postgres](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updat * es.html) documentation for your configured engine to determine this value. For example with Aurora M * ySQL 2, a potential value for this argument is `5.7.mysql_aurora.2.03.2`. The value can contain a pa * rtial version where supported by the API. The actual engine version used is returned in the attribut * e `engine_version_actual`, , see [Attributes Reference](#attributes-reference) below. */ engineVersion?: string | core.StringOut; /** * The running version of the database. */ engineVersionActual: string | core.StringOut; /** * (Optional) The name of your final DB snapshot when this DB cluster is deleted. If omitted, no final * snapshot will be made. */ finalSnapshotIdentifier?: string | core.StringOut; /** * (Optional) The global cluster identifier specified on [`aws_rds_global_cluster`](/docs/providers/aws * /r/rds_global_cluster.html). */ globalClusterIdentifier?: string | core.StringOut; /** * The Route53 Hosted Zone ID of the endpoint */ hostedZoneId: string | core.StringOut; /** * (Optional) Specifies whether or not mappings of AWS Identity and Access Management (IAM) accounts to * database accounts is enabled. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/ * latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) for availability and limitations. */ iamDatabaseAuthenticationEnabled?: boolean | core.BooleanOut; /** * (Optional) A List of ARNs for the IAM roles to associate to the RDS Cluster. */ iamRoles?: core.Array | core.ArrayOut; /** * The RDS Cluster Identifier */ id: string | core.StringOut; /** * (Optional) The amount of Provisioned IOPS (input/output operations per second) to be initially alloc * ated for each DB instance in the Multi-AZ DB cluster. For information about valid Iops values, see [ * Amazon RDS Provisioned IOPS storage to improve performance](https://docs.aws.amazon.com/AmazonRDS/la * test/UserGuide/CHAP_Storage.html#USER_PIOPS) in the Amazon RDS User Guide. (This setting is required * to create a Multi-AZ DB cluster). Must be a multiple between .5 and 50 of the storage amount for th * e DB cluster. */ iops?: number | core.NumberOut; /** * (Optional) The ARN for the KMS encryption key. When specifying `kms_key_id`, `storage_encrypted` nee * ds to be set to true. */ kmsKeyId?: string | core.StringOut; /** * (Required unless a `snapshot_identifier` or `replication_source_identifier` is provided or unless a * global_cluster_identifier` is provided when the cluster is the "secondary" cluster of a global data * base) Password for the master DB user. Note that this may show up in logs, and it will be stored in * the state file. Please refer to the [RDS Naming Constraints][5] */ masterPassword?: string | core.StringOut; /** * (Required unless a `snapshot_identifier` or `replication_source_identifier` is provided or unless a * global_cluster_identifier` is provided when the cluster is the "secondary" cluster of a global data * base) Username for the master DB user. Please refer to the [RDS Naming Constraints][5]. This argumen * t does not support in-place updates and cannot be changed during a restore from snapshot. */ masterUsername?: string | core.StringOut; /** * (Optional) The port on which the DB accepts connections */ port?: number | core.NumberOut; /** * (Optional) The daily time range during which automated backups are created if automated backups are * enabled using the BackupRetentionPeriod parameter.Time in UTC. Default: A 30-minute window selected * at random from an 8-hour block of time per regionE.g., 04:00-09:00 */ preferredBackupWindow?: string | core.StringOut; /** * (Optional) The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00 * wed:04:30 */ preferredMaintenanceWindow?: string | core.StringOut; /** * A read-only endpoint for the Aurora cluster, automatically */ readerEndpoint: string | core.StringOut; /** * (Optional) ARN of a source DB cluster or DB instance if this DB cluster is to be created as a Read R * eplica. If DB Cluster is part of a Global Cluster, use the [`lifecycle` configuration block `ignore_ * changes` argument](https://www.terraform.io/docs/configuration/meta-arguments/lifecycle.html#ignore_ * changes) to prevent Terraform from showing differences for this argument instead of configuring this * value. */ replicationSourceIdentifier?: string | core.StringOut; /** * (Optional) Nested attribute for [point in time restore](https://docs.aws.amazon.com/AmazonRDS/latest * /AuroraUserGuide/USER_PIT.html). More details below. */ restoreToPointInTime?: RestoreToPointInTime; s3Import?: S3Import; /** * (Optional) Nested attribute with scaling properties. Only valid when `engine_mode` is set to `server * less`. More details below. */ scalingConfiguration?: ScalingConfiguration; serverlessv2ScalingConfiguration?: Serverlessv2ScalingConfiguration; /** * (Optional) Determines whether a final DB snapshot is created before the DB cluster is deleted. If tr * ue is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before t * he DB cluster is deleted, using the value from `final_snapshot_identifier`. Default is `false`. */ skipFinalSnapshot?: boolean | core.BooleanOut; /** * (Optional) Specifies whether or not to create this cluster from a snapshot. You can use either the n * ame or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. */ snapshotIdentifier?: string | core.StringOut; /** * (Optional) The source region for an encrypted replica DB cluster. */ sourceRegion?: string | core.StringOut; /** * (Optional) Specifies whether the DB cluster is encrypted. The default is `false` for `provisioned` ` * engine_mode` and `true` for `serverless` `engine_mode`. When restoring an unencrypted `snapshot_iden * tifier`, the `kms_key_id` argument must be provided to encrypt the restored cluster. Terraform will * only perform drift detection if a configuration value is provided. */ storageEncrypted?: boolean | core.BooleanOut; /** * (Optional) Specifies the storage type to be associated with the DB cluster. (This setting is require * d to create a Multi-AZ DB cluster). Valid values: `io1`, Default: `io1`. */ storageType?: string | core.StringOut; /** * (Optional) A map of tags to assign to the DB cluster. If configured with a provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block) present, tags with matching keys will overwrite those defined at the provider-l * evel. */ 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; /** * (Optional) List of VPC security groups to associate with the Cluster */ vpcSecurityGroupIds?: core.Array | core.ArrayOut; constructor(name: string, args?: ClusterArgs); getNamespace(): string; } //# sourceMappingURL=cluster.d.ts.map