
com.pulumi.awsnative.gamelift.kotlin.outputs.ScriptS3Location.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.gamelift.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property bucket An Amazon S3 bucket identifier. This is the name of the S3 bucket.
* @property key The name of the zip file that contains the script files.
* @property objectVersion The version of the file, if object versioning is turned on for the bucket. Amazon GameLift uses this information when retrieving files from your S3 bucket. To retrieve a specific version of the file, provide an object version. To retrieve the latest version of the file, do not set this parameter.
* @property roleArn The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket.
*/
public data class ScriptS3Location(
public val bucket: String,
public val key: String,
public val objectVersion: String? = null,
public val roleArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.gamelift.outputs.ScriptS3Location): ScriptS3Location = ScriptS3Location(
bucket = javaType.bucket(),
key = javaType.key(),
objectVersion = javaType.objectVersion().map({ args0 -> args0 }).orElse(null),
roleArn = javaType.roleArn(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy