
com.pulumi.awsnative.connect.kotlin.SecurityKeyArgs.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.connect.kotlin
import com.pulumi.awsnative.connect.SecurityKeyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::Connect::SecurityKey
* ## Example Usage
* ### Example
* No Java example available.
* @property instanceId The Amazon Resource Name (ARN) of the instance.
* *Minimum* : `1`
* *Maximum* : `100`
* @property key A valid security key in PEM format. For example:
* `"-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"`
* *Minimum* : `1`
* *Maximum* : `1024`
*/
public data class SecurityKeyArgs(
public val instanceId: Output? = null,
public val key: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.SecurityKeyArgs =
com.pulumi.awsnative.connect.SecurityKeyArgs.builder()
.instanceId(instanceId?.applyValue({ args0 -> args0 }))
.key(key?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SecurityKeyArgs].
*/
@PulumiTagMarker
public class SecurityKeyArgsBuilder internal constructor() {
private var instanceId: Output? = null
private var key: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the instance.
* *Minimum* : `1`
* *Maximum* : `100`
*/
@JvmName("huhxiwnxrjypqili")
public suspend fun instanceId(`value`: Output) {
this.instanceId = value
}
/**
* @param value A valid security key in PEM format. For example:
* `"-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"`
* *Minimum* : `1`
* *Maximum* : `1024`
*/
@JvmName("byljksvqsguuokgm")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value The Amazon Resource Name (ARN) of the instance.
* *Minimum* : `1`
* *Maximum* : `100`
*/
@JvmName("ayotmdsbnqstawct")
public suspend fun instanceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.instanceId = mapped
}
/**
* @param value A valid security key in PEM format. For example:
* `"-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"`
* *Minimum* : `1`
* *Maximum* : `1024`
*/
@JvmName("ajnyvconpqajraly")
public suspend fun key(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.key = mapped
}
internal fun build(): SecurityKeyArgs = SecurityKeyArgs(
instanceId = instanceId,
key = key,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy