Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.elasticbeanstalk.kotlin
import com.pulumi.awsnative.elasticbeanstalk.EnvironmentArgs.builder
import com.pulumi.awsnative.elasticbeanstalk.kotlin.inputs.EnvironmentOptionSettingArgs
import com.pulumi.awsnative.elasticbeanstalk.kotlin.inputs.EnvironmentOptionSettingArgsBuilder
import com.pulumi.awsnative.elasticbeanstalk.kotlin.inputs.EnvironmentTierArgs
import com.pulumi.awsnative.elasticbeanstalk.kotlin.inputs.EnvironmentTierArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::ElasticBeanstalk::Environment
* @property applicationName The name of the application that is associated with this environment.
* @property cnamePrefix If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
* @property description Your description for this environment.
* @property environmentName A unique name for the environment.
* @property operationsRole The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
* @property optionSettings Key-value pairs defining configuration options for this environment, such as the instance type.
* @property platformArn The Amazon Resource Name (ARN) of the custom platform to use with the environment.
* @property solutionStackName The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
* @property tags Specifies the tags applied to resources in the environment.
* @property templateName The name of the Elastic Beanstalk configuration template to use with the environment.
* @property tier Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
* @property versionLabel The name of the application version to deploy.
*/
public data class EnvironmentArgs(
public val applicationName: Output? = null,
public val cnamePrefix: Output? = null,
public val description: Output? = null,
public val environmentName: Output? = null,
public val operationsRole: Output? = null,
public val optionSettings: Output>? = null,
public val platformArn: Output? = null,
public val solutionStackName: Output? = null,
public val tags: Output>? = null,
public val templateName: Output? = null,
public val tier: Output? = null,
public val versionLabel: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.elasticbeanstalk.EnvironmentArgs =
com.pulumi.awsnative.elasticbeanstalk.EnvironmentArgs.builder()
.applicationName(applicationName?.applyValue({ args0 -> args0 }))
.cnamePrefix(cnamePrefix?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.environmentName(environmentName?.applyValue({ args0 -> args0 }))
.operationsRole(operationsRole?.applyValue({ args0 -> args0 }))
.optionSettings(
optionSettings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.platformArn(platformArn?.applyValue({ args0 -> args0 }))
.solutionStackName(solutionStackName?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.templateName(templateName?.applyValue({ args0 -> args0 }))
.tier(tier?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.versionLabel(versionLabel?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EnvironmentArgs].
*/
@PulumiTagMarker
public class EnvironmentArgsBuilder internal constructor() {
private var applicationName: Output? = null
private var cnamePrefix: Output? = null
private var description: Output? = null
private var environmentName: Output? = null
private var operationsRole: Output? = null
private var optionSettings: Output>? = null
private var platformArn: Output? = null
private var solutionStackName: Output? = null
private var tags: Output>? = null
private var templateName: Output? = null
private var tier: Output? = null
private var versionLabel: Output? = null
/**
* @param value The name of the application that is associated with this environment.
*/
@JvmName("yeotnekkenhykneh")
public suspend fun applicationName(`value`: Output) {
this.applicationName = value
}
/**
* @param value If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
*/
@JvmName("dypeailwrtpxxqul")
public suspend fun cnamePrefix(`value`: Output) {
this.cnamePrefix = value
}
/**
* @param value Your description for this environment.
*/
@JvmName("qmpgkrbnehnscnvw")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value A unique name for the environment.
*/
@JvmName("hyurnwhowkyuvuek")
public suspend fun environmentName(`value`: Output) {
this.environmentName = value
}
/**
* @param value The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
*/
@JvmName("svylrogmducexjgd")
public suspend fun operationsRole(`value`: Output) {
this.operationsRole = value
}
/**
* @param value Key-value pairs defining configuration options for this environment, such as the instance type.
*/
@JvmName("chrborhjmvyjyyst")
public suspend fun optionSettings(`value`: Output>) {
this.optionSettings = value
}
@JvmName("aqwrpfwijcimbqba")
public suspend fun optionSettings(vararg values: Output) {
this.optionSettings = Output.all(values.asList())
}
/**
* @param values Key-value pairs defining configuration options for this environment, such as the instance type.
*/
@JvmName("oqqqsruaxwsieguc")
public suspend fun optionSettings(values: List