
com.pulumi.awsnative.elasticbeanstalk.kotlin.outputs.GetEnvironmentResult.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.elasticbeanstalk.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property description Your description for this environment.
* @property endpointUrl For load-balanced, autoscaling environments, the URL to the load balancer. For single-instance environments, the IP address of the instance.
* Example load balancer URL:
* Example instance IP address:
* `192.0.2.0`
* @property operationsRole The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
* @property platformArn The Amazon Resource Name (ARN) of the custom platform to use with the environment.
* @property tags Specifies the tags applied to resources in 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 GetEnvironmentResult(
public val description: String? = null,
public val endpointUrl: String? = null,
public val operationsRole: String? = null,
public val platformArn: String? = null,
public val tags: List? = null,
public val tier: EnvironmentTier? = null,
public val versionLabel: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.elasticbeanstalk.outputs.GetEnvironmentResult): GetEnvironmentResult = GetEnvironmentResult(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
endpointUrl = javaType.endpointUrl().map({ args0 -> args0 }).orElse(null),
operationsRole = javaType.operationsRole().map({ args0 -> args0 }).orElse(null),
platformArn = javaType.platformArn().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
tier = javaType.tier().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.elasticbeanstalk.kotlin.outputs.EnvironmentTier.Companion.toKotlin(args0)
})
}).orElse(null),
versionLabel = javaType.versionLabel().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy