All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.docdbelastic.kotlin.outputs.GetClusterResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.docdbelastic.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property backupRetentionPeriod The number of days for which automatic snapshots are retained.
 * @property clusterArn
 * @property clusterEndpoint The URL used to connect to the elastic cluster.
 * @property preferredBackupWindow The daily time range during which automated backups are created if automated backups are enabled, as determined by `backupRetentionPeriod` .
 * @property preferredMaintenanceWindow The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
 * *Format* : `ddd:hh24:mi-ddd:hh24:mi`
 * *Default* : a 30-minute window selected at random from an 8-hour block of time for each AWS Region , occurring on a random day of the week.
 * *Valid days* : Mon, Tue, Wed, Thu, Fri, Sat, Sun
 * *Constraints* : Minimum 30-minute window.
 * @property shardCapacity The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
 * @property shardCount The number of shards assigned to the elastic cluster. Maximum is 32.
 * @property shardInstanceCount The number of replica instances applying to all shards in the cluster. A `shardInstanceCount` value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
 * @property subnetIds The Amazon EC2 subnet IDs for the new elastic cluster.
 * @property tags The tags to be assigned to the new elastic cluster.
 * @property vpcSecurityGroupIds A list of EC2 VPC security groups to associate with the new elastic cluster.
 */
public data class GetClusterResult(
    public val backupRetentionPeriod: Int? = null,
    public val clusterArn: String? = null,
    public val clusterEndpoint: String? = null,
    public val preferredBackupWindow: String? = null,
    public val preferredMaintenanceWindow: String? = null,
    public val shardCapacity: Int? = null,
    public val shardCount: Int? = null,
    public val shardInstanceCount: Int? = null,
    public val subnetIds: List? = null,
    public val tags: List? = null,
    public val vpcSecurityGroupIds: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.docdbelastic.outputs.GetClusterResult): GetClusterResult = GetClusterResult(
            backupRetentionPeriod = javaType.backupRetentionPeriod().map({ args0 -> args0 }).orElse(null),
            clusterArn = javaType.clusterArn().map({ args0 -> args0 }).orElse(null),
            clusterEndpoint = javaType.clusterEndpoint().map({ args0 -> args0 }).orElse(null),
            preferredBackupWindow = javaType.preferredBackupWindow().map({ args0 -> args0 }).orElse(null),
            preferredMaintenanceWindow = javaType.preferredMaintenanceWindow().map({ args0 ->
                args0
            }).orElse(null),
            shardCapacity = javaType.shardCapacity().map({ args0 -> args0 }).orElse(null),
            shardCount = javaType.shardCount().map({ args0 -> args0 }).orElse(null),
            shardInstanceCount = javaType.shardInstanceCount().map({ args0 -> args0 }).orElse(null),
            subnetIds = javaType.subnetIds().map({ args0 -> args0 }),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            vpcSecurityGroupIds = javaType.vpcSecurityGroupIds().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy