com.pulumi.aws.apigatewayv2.kotlin.inputs.DomainNameMutualTlsAuthenticationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.apigatewayv2.kotlin.inputs
import com.pulumi.aws.apigatewayv2.inputs.DomainNameMutualTlsAuthenticationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property truststoreUri Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, `s3://bucket-name/key-name`. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version.
* @property truststoreVersion Version of the S3 object that contains the truststore. To specify a version, you must have versioning enabled for the S3 bucket.
*/
public data class DomainNameMutualTlsAuthenticationArgs(
public val truststoreUri: Output,
public val truststoreVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.apigatewayv2.inputs.DomainNameMutualTlsAuthenticationArgs =
com.pulumi.aws.apigatewayv2.inputs.DomainNameMutualTlsAuthenticationArgs.builder()
.truststoreUri(truststoreUri.applyValue({ args0 -> args0 }))
.truststoreVersion(truststoreVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DomainNameMutualTlsAuthenticationArgs].
*/
@PulumiTagMarker
public class DomainNameMutualTlsAuthenticationArgsBuilder internal constructor() {
private var truststoreUri: Output? = null
private var truststoreVersion: Output? = null
/**
* @param value Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, `s3://bucket-name/key-name`. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version.
*/
@JvmName("btgjsjhlsttohnlb")
public suspend fun truststoreUri(`value`: Output) {
this.truststoreUri = value
}
/**
* @param value Version of the S3 object that contains the truststore. To specify a version, you must have versioning enabled for the S3 bucket.
*/
@JvmName("rhynkxyosynwnbsh")
public suspend fun truststoreVersion(`value`: Output) {
this.truststoreVersion = value
}
/**
* @param value Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, `s3://bucket-name/key-name`. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version.
*/
@JvmName("iujvwtpudhpsnrxa")
public suspend fun truststoreUri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.truststoreUri = mapped
}
/**
* @param value Version of the S3 object that contains the truststore. To specify a version, you must have versioning enabled for the S3 bucket.
*/
@JvmName("vsnhslvfdpeoodjf")
public suspend fun truststoreVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.truststoreVersion = mapped
}
internal fun build(): DomainNameMutualTlsAuthenticationArgs =
DomainNameMutualTlsAuthenticationArgs(
truststoreUri = truststoreUri ?: throw PulumiNullFieldException("truststoreUri"),
truststoreVersion = truststoreVersion,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy