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

com.pulumi.aws.opensearch.kotlin.inputs.DomainDomainEndpointOptionsArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.opensearch.kotlin.inputs

import com.pulumi.aws.opensearch.inputs.DomainDomainEndpointOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property customEndpoint Fully qualified domain for your custom endpoint.
 * @property customEndpointCertificateArn ACM certificate ARN for your custom endpoint.
 * @property customEndpointEnabled Whether to enable custom endpoint for the OpenSearch domain.
 * @property enforceHttps Whether or not to require HTTPS. Defaults to `true`.
 * @property tlsSecurityPolicy Name of the TLS security policy that needs to be applied to the HTTPS endpoint. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_DomainEndpointOptions.html#opensearchservice-Type-DomainEndpointOptions-TLSSecurityPolicy). Pulumi will only perform drift detection if a configuration value is provided.
 */
public data class DomainDomainEndpointOptionsArgs(
    public val customEndpoint: Output? = null,
    public val customEndpointCertificateArn: Output? = null,
    public val customEndpointEnabled: Output? = null,
    public val enforceHttps: Output? = null,
    public val tlsSecurityPolicy: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.opensearch.inputs.DomainDomainEndpointOptionsArgs =
        com.pulumi.aws.opensearch.inputs.DomainDomainEndpointOptionsArgs.builder()
            .customEndpoint(customEndpoint?.applyValue({ args0 -> args0 }))
            .customEndpointCertificateArn(customEndpointCertificateArn?.applyValue({ args0 -> args0 }))
            .customEndpointEnabled(customEndpointEnabled?.applyValue({ args0 -> args0 }))
            .enforceHttps(enforceHttps?.applyValue({ args0 -> args0 }))
            .tlsSecurityPolicy(tlsSecurityPolicy?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DomainDomainEndpointOptionsArgs].
 */
@PulumiTagMarker
public class DomainDomainEndpointOptionsArgsBuilder internal constructor() {
    private var customEndpoint: Output? = null

    private var customEndpointCertificateArn: Output? = null

    private var customEndpointEnabled: Output? = null

    private var enforceHttps: Output? = null

    private var tlsSecurityPolicy: Output? = null

    /**
     * @param value Fully qualified domain for your custom endpoint.
     */
    @JvmName("dgiweymuoalhqwsi")
    public suspend fun customEndpoint(`value`: Output) {
        this.customEndpoint = value
    }

    /**
     * @param value ACM certificate ARN for your custom endpoint.
     */
    @JvmName("xlalwcdejuuijmap")
    public suspend fun customEndpointCertificateArn(`value`: Output) {
        this.customEndpointCertificateArn = value
    }

    /**
     * @param value Whether to enable custom endpoint for the OpenSearch domain.
     */
    @JvmName("ogvokdqhaajtelvn")
    public suspend fun customEndpointEnabled(`value`: Output) {
        this.customEndpointEnabled = value
    }

    /**
     * @param value Whether or not to require HTTPS. Defaults to `true`.
     */
    @JvmName("phvdeduciiewqakg")
    public suspend fun enforceHttps(`value`: Output) {
        this.enforceHttps = value
    }

    /**
     * @param value Name of the TLS security policy that needs to be applied to the HTTPS endpoint. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_DomainEndpointOptions.html#opensearchservice-Type-DomainEndpointOptions-TLSSecurityPolicy). Pulumi will only perform drift detection if a configuration value is provided.
     */
    @JvmName("xedmmuklrtsqhkdk")
    public suspend fun tlsSecurityPolicy(`value`: Output) {
        this.tlsSecurityPolicy = value
    }

    /**
     * @param value Fully qualified domain for your custom endpoint.
     */
    @JvmName("mxdcfienrddjpiga")
    public suspend fun customEndpoint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customEndpoint = mapped
    }

    /**
     * @param value ACM certificate ARN for your custom endpoint.
     */
    @JvmName("cepnatrglmdnsuak")
    public suspend fun customEndpointCertificateArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customEndpointCertificateArn = mapped
    }

    /**
     * @param value Whether to enable custom endpoint for the OpenSearch domain.
     */
    @JvmName("ojhimblernnhywmr")
    public suspend fun customEndpointEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customEndpointEnabled = mapped
    }

    /**
     * @param value Whether or not to require HTTPS. Defaults to `true`.
     */
    @JvmName("wancrnhsytmgsbkr")
    public suspend fun enforceHttps(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enforceHttps = mapped
    }

    /**
     * @param value Name of the TLS security policy that needs to be applied to the HTTPS endpoint. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_DomainEndpointOptions.html#opensearchservice-Type-DomainEndpointOptions-TLSSecurityPolicy). Pulumi will only perform drift detection if a configuration value is provided.
     */
    @JvmName("qwjsocjhamacxgrc")
    public suspend fun tlsSecurityPolicy(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tlsSecurityPolicy = mapped
    }

    internal fun build(): DomainDomainEndpointOptionsArgs = DomainDomainEndpointOptionsArgs(
        customEndpoint = customEndpoint,
        customEndpointCertificateArn = customEndpointCertificateArn,
        customEndpointEnabled = customEndpointEnabled,
        enforceHttps = enforceHttps,
        tlsSecurityPolicy = tlsSecurityPolicy,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy