All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.gamelift.kotlin.outputs.BuildStorageLocation.kt Maven / Gradle / Ivy

@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 build files or 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 BuildStorageLocation(
    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.BuildStorageLocation): BuildStorageLocation = BuildStorageLocation(
            bucket = javaType.bucket(),
            key = javaType.key(),
            objectVersion = javaType.objectVersion().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy