
com.pulumi.awsnative.opensearchservice.kotlin.outputs.DomainEbsOptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.opensearchservice.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property ebsEnabled Specifies whether Amazon EBS volumes are attached to data nodes in the OpenSearch Service domain.
* @property iops The number of I/O operations per second (IOPS) that the volume supports. This property applies only to the `gp3` and provisioned IOPS EBS volume types.
* @property throughput The throughput (in MiB/s) of the EBS volumes attached to data nodes. Applies only to the `gp3` volume type.
* @property volumeSize The size (in GiB) of the EBS volume for each data node. The minimum and maximum size of an EBS volume depends on the EBS volume type and the instance type to which it is attached. For more information, see [EBS volume size limits](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#ebsresource) in the *Amazon OpenSearch Service Developer Guide* .
* @property volumeType The EBS volume type to use with the OpenSearch Service domain. If you choose `gp3` , you must also specify values for `Iops` and `Throughput` . For more information about each type, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) in the *Amazon EC2 User Guide for Linux Instances* .
*/
public data class DomainEbsOptions(
public val ebsEnabled: Boolean? = null,
public val iops: Int? = null,
public val throughput: Int? = null,
public val volumeSize: Int? = null,
public val volumeType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.opensearchservice.outputs.DomainEbsOptions): DomainEbsOptions = DomainEbsOptions(
ebsEnabled = javaType.ebsEnabled().map({ args0 -> args0 }).orElse(null),
iops = javaType.iops().map({ args0 -> args0 }).orElse(null),
throughput = javaType.throughput().map({ args0 -> args0 }).orElse(null),
volumeSize = javaType.volumeSize().map({ args0 -> args0 }).orElse(null),
volumeType = javaType.volumeType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy