com.pulumi.awsnative.opsworkscm.kotlin.inputs.ServerEngineAttributeArgs.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.opsworkscm.kotlin.inputs
import com.pulumi.awsnative.opsworkscm.inputs.ServerEngineAttributeArgs.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
/**
*
* @property name The name of the engine attribute.
* *Attribute name for Chef Automate servers:*
* - `CHEF_AUTOMATE_ADMIN_PASSWORD`
* *Attribute names for Puppet Enterprise servers:*
* - `PUPPET_ADMIN_PASSWORD`
* - `PUPPET_R10K_REMOTE`
* - `PUPPET_R10K_PRIVATE_KEY`
* @property value The value of the engine attribute.
* *Attribute value for Chef Automate servers:*
* - `CHEF_AUTOMATE_PIVOTAL_KEY` : A base64-encoded RSA public key. The corresponding private key is required to access the Chef API. You can generate this key by running the following [OpenSSL](https://docs.aws.amazon.com/https://www.openssl.org/) command on Linux-based computers.
* `openssl genrsa -out *pivotal_key_file_name* .pem 2048`
* On Windows-based computers, you can use the PuTTYgen utility to generate a base64-encoded RSA private key. For more information, see [PuTTYgen - Key Generator for PuTTY on Windows](https://docs.aws.amazon.com/https://www.ssh.com/ssh/putty/windows/puttygen) on SSH.com.
* *Attribute values for Puppet Enterprise servers:*
* - `PUPPET_ADMIN_PASSWORD` : An administrator password that you can use to sign in to the Puppet Enterprise console webpage after the server is online. The password must use between 8 and 32 ASCII characters.
* - `PUPPET_R10K_REMOTE` : The r10k remote is the URL of your control repository (for example, ssh://[email protected]:user/control-repo.git). Specifying an r10k remote opens TCP port 8170.
* - `PUPPET_R10K_PRIVATE_KEY` : If you are using a private Git repository, add `PUPPET_R10K_PRIVATE_KEY` to specify a PEM-encoded private SSH key.
*/
public data class ServerEngineAttributeArgs(
public val name: Output? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.opsworkscm.inputs.ServerEngineAttributeArgs =
com.pulumi.awsnative.opsworkscm.inputs.ServerEngineAttributeArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServerEngineAttributeArgs].
*/
@PulumiTagMarker
public class ServerEngineAttributeArgsBuilder internal constructor() {
private var name: Output? = null
private var `value`: Output? = null
/**
* @param value The name of the engine attribute.
* *Attribute name for Chef Automate servers:*
* - `CHEF_AUTOMATE_ADMIN_PASSWORD`
* *Attribute names for Puppet Enterprise servers:*
* - `PUPPET_ADMIN_PASSWORD`
* - `PUPPET_R10K_REMOTE`
* - `PUPPET_R10K_PRIVATE_KEY`
*/
@JvmName("wbvgqmyadtvosray")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The value of the engine attribute.
* *Attribute value for Chef Automate servers:*
* - `CHEF_AUTOMATE_PIVOTAL_KEY` : A base64-encoded RSA public key. The corresponding private key is required to access the Chef API. You can generate this key by running the following [OpenSSL](https://docs.aws.amazon.com/https://www.openssl.org/) command on Linux-based computers.
* `openssl genrsa -out *pivotal_key_file_name* .pem 2048`
* On Windows-based computers, you can use the PuTTYgen utility to generate a base64-encoded RSA private key. For more information, see [PuTTYgen - Key Generator for PuTTY on Windows](https://docs.aws.amazon.com/https://www.ssh.com/ssh/putty/windows/puttygen) on SSH.com.
* *Attribute values for Puppet Enterprise servers:*
* - `PUPPET_ADMIN_PASSWORD` : An administrator password that you can use to sign in to the Puppet Enterprise console webpage after the server is online. The password must use between 8 and 32 ASCII characters.
* - `PUPPET_R10K_REMOTE` : The r10k remote is the URL of your control repository (for example, ssh://[email protected]:user/control-repo.git). Specifying an r10k remote opens TCP port 8170.
* - `PUPPET_R10K_PRIVATE_KEY` : If you are using a private Git repository, add `PUPPET_R10K_PRIVATE_KEY` to specify a PEM-encoded private SSH key.
*/
@JvmName("jsyhncrcudgxplpp")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The name of the engine attribute.
* *Attribute name for Chef Automate servers:*
* - `CHEF_AUTOMATE_ADMIN_PASSWORD`
* *Attribute names for Puppet Enterprise servers:*
* - `PUPPET_ADMIN_PASSWORD`
* - `PUPPET_R10K_REMOTE`
* - `PUPPET_R10K_PRIVATE_KEY`
*/
@JvmName("wmkhqccimcpsyeki")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The value of the engine attribute.
* *Attribute value for Chef Automate servers:*
* - `CHEF_AUTOMATE_PIVOTAL_KEY` : A base64-encoded RSA public key. The corresponding private key is required to access the Chef API. You can generate this key by running the following [OpenSSL](https://docs.aws.amazon.com/https://www.openssl.org/) command on Linux-based computers.
* `openssl genrsa -out *pivotal_key_file_name* .pem 2048`
* On Windows-based computers, you can use the PuTTYgen utility to generate a base64-encoded RSA private key. For more information, see [PuTTYgen - Key Generator for PuTTY on Windows](https://docs.aws.amazon.com/https://www.ssh.com/ssh/putty/windows/puttygen) on SSH.com.
* *Attribute values for Puppet Enterprise servers:*
* - `PUPPET_ADMIN_PASSWORD` : An administrator password that you can use to sign in to the Puppet Enterprise console webpage after the server is online. The password must use between 8 and 32 ASCII characters.
* - `PUPPET_R10K_REMOTE` : The r10k remote is the URL of your control repository (for example, ssh://[email protected]:user/control-repo.git). Specifying an r10k remote opens TCP port 8170.
* - `PUPPET_R10K_PRIVATE_KEY` : If you are using a private Git repository, add `PUPPET_R10K_PRIVATE_KEY` to specify a PEM-encoded private SSH key.
*/
@JvmName("qjvbciydgqhnhrse")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): ServerEngineAttributeArgs = ServerEngineAttributeArgs(
name = name,
`value` = `value`,
)
}