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, Forces new resource) The EC2 Availability Zone that the DB instance is created * in. See [docs](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/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, Forces new resource) The identifier of the [`aws_rds_cluster`](/docs/providers/aws/r/rds_ * cluster.html) in which to launch this instance. */ clusterIdentifier: string | core.StringOut; copyTagsToSnapshot?: boolean | core.BooleanOut; /** * (Optional) The name of the DB parameter group to associate with this instance. */ dbParameterGroupName?: string | core.StringOut; /** * (Required if `publicly_accessible = false`, Optional otherwise, Forces new resource) A DB subnet gro * up to associate with this DB instance. **NOTE:** This must match the `db_subnet_group_name` of the a * ttached [`aws_rds_cluster`](/docs/providers/aws/r/rds_cluster.html). */ dbSubnetGroupName?: string | core.StringOut; /** * (Optional, Forces new resource) The name of the database engine to be used for the RDS instance. Def * aults to `aurora`. Valid Values: `aurora`, `aurora-mysql`, `aurora-postgresql`. */ engine?: string | core.StringOut; /** * (Optional) The database engine version. */ engineVersion?: string | core.StringOut; /** * (Optional, Forces new resource) The identifier for the RDS instance, if omitted, Terraform will assi * gn 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 */ instanceClass: string | core.StringOut; /** * (Optional) The interval, in seconds, between points when Enhanced Monitoring metrics are collected f * or the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. * Valid Values: 0, 1, 5, 10, 15, 30, 60. */ monitoringInterval?: number | core.NumberOut; /** * (Optional) The ARN for the IAM role that permits RDS to send */ monitoringRoleArn?: string | core.StringOut; /** * (Optional) Specifies whether Performance Insights is enabled or not. */ performanceInsightsEnabled?: boolean | core.BooleanOut; /** * (Optional) ARN for the KMS key to encrypt Performance Insights data. When specifying `performance_in * sights_kms_key_id`, `performance_insights_enabled` needs to be set to true. */ performanceInsightsKmsKeyId?: string | core.StringOut; /** * (Optional) Amount of time in days to retain Performance Insights data. Valida values are `7`, `731` * (2 years) or a multiple of `31`. When specifying `performance_insights_retention_period`, `performan * ce_insights_enabled` needs to be set to true. Defaults to '7'. */ performanceInsightsRetentionPeriod?: number | core.NumberOut; /** * (Optional) 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 promoted to writer. */ promotionTier?: number | core.NumberOut; /** * (Optional) Bool to control if instance is publicly accessible. */ publiclyAccessible?: 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; } 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, Forces new resource) The EC2 Availability Zone that the DB instance is created * in. See [docs](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/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, Forces new resource) The identifier of the [`aws_rds_cluster`](/docs/providers/aws/r/rds_ * cluster.html) in which to launch this instance. */ clusterIdentifier: string | core.StringOut; copyTagsToSnapshot?: boolean | core.BooleanOut; /** * (Optional) The name of the DB parameter group to associate with this instance. */ dbParameterGroupName?: string | core.StringOut; /** * (Required if `publicly_accessible = false`, Optional otherwise, Forces new resource) A DB subnet gro * up to associate with this DB instance. **NOTE:** This must match the `db_subnet_group_name` of the a * ttached [`aws_rds_cluster`](/docs/providers/aws/r/rds_cluster.html). */ 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, Forces new resource) The name of the database engine to be used for the RDS instance. Def * aults to `aurora`. Valid Values: `aurora`, `aurora-mysql`, `aurora-postgresql`. */ engine?: string | core.StringOut; /** * (Optional) The database engine version. */ engineVersion?: string | core.StringOut; /** * The database engine version */ engineVersionActual: string | core.StringOut; /** * The Instance identifier */ id: string | core.StringOut; /** * (Optional, Forces new resource) The identifier for the RDS instance, if omitted, Terraform will assi * gn 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 */ instanceClass: string | core.StringOut; /** * The ARN for the KMS encryption key if one is set to the cluster. */ kmsKeyId: string | core.StringOut; /** * (Optional) The interval, in seconds, between points when Enhanced Monitoring metrics are collected f * or the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. * Valid Values: 0, 1, 5, 10, 15, 30, 60. */ monitoringInterval?: number | core.NumberOut; /** * (Optional) The ARN for the IAM role that permits RDS to send */ monitoringRoleArn?: string | core.StringOut; /** * (Optional) Specifies whether Performance Insights is enabled or not. */ performanceInsightsEnabled?: boolean | core.BooleanOut; /** * (Optional) ARN for the KMS key to encrypt Performance Insights data. When specifying `performance_in * sights_kms_key_id`, `performance_insights_enabled` needs to be set to true. */ performanceInsightsKmsKeyId?: string | core.StringOut; /** * (Optional) Amount of time in days to retain Performance Insights data. Valida values are `7`, `731` * (2 years) or a multiple of `31`. When specifying `performance_insights_retention_period`, `performan * ce_insights_enabled` needs to be set to true. Defaults to '7'. */ performanceInsightsRetentionPeriod?: number | core.NumberOut; /** * The database port */ port: number | core.NumberOut; /** * (Optional) 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 promoted to writer. */ promotionTier?: number | core.NumberOut; /** * (Optional) Bool to control if instance is publicly accessible. */ 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