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

com.pulumi.awsnative.stepfunctions.kotlin.outputs.StateMachineS3Location.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.stepfunctions.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property bucket The name of the S3 bucket where the state machine definition JSON or YAML file is stored.
 * @property key The name of the state machine definition file (Amazon S3 object name).
 * @property version For versioning-enabled buckets, a specific version of the state machine definition.
 */
public data class StateMachineS3Location(
    public val bucket: String,
    public val key: String,
    public val version: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.stepfunctions.outputs.StateMachineS3Location): StateMachineS3Location = StateMachineS3Location(
            bucket = javaType.bucket(),
            key = javaType.key(),
            version = javaType.version().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy