com.pulumi.awsnative.kinesisanalyticsv2.kotlin.outputs.ApplicationS3ContentLocation.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.kinesisanalyticsv2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* The location of an application or a custom artifact.
* @property bucketArn The Amazon Resource Name (ARN) for the S3 bucket containing the application code.
* @property fileKey The file key for the object containing the application code.
* @property objectVersion The version of the object containing the application code.
*/
public data class ApplicationS3ContentLocation(
public val bucketArn: String,
public val fileKey: String,
public val objectVersion: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kinesisanalyticsv2.outputs.ApplicationS3ContentLocation): ApplicationS3ContentLocation = ApplicationS3ContentLocation(
bucketArn = javaType.bucketArn(),
fileKey = javaType.fileKey(),
objectVersion = javaType.objectVersion().map({ args0 -> args0 }).orElse(null),
)
}
}