
com.pulumi.aws.imagebuilder.kotlin.outputs.DistributionConfigurationDistributionS3ExportConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.imagebuilder.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property diskImageFormat The disk image format of the exported image (`RAW`, `VHD`, or `VMDK`)
* @property roleName The name of the IAM role to use for exporting.
* @property s3Bucket The name of the S3 bucket to store the exported image in. The bucket needs to exist before the export configuration is created.
* @property s3Prefix The prefix for the exported image.
*/
public data class DistributionConfigurationDistributionS3ExportConfiguration(
public val diskImageFormat: String,
public val roleName: String,
public val s3Bucket: String,
public val s3Prefix: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.imagebuilder.outputs.DistributionConfigurationDistributionS3ExportConfiguration): DistributionConfigurationDistributionS3ExportConfiguration =
DistributionConfigurationDistributionS3ExportConfiguration(
diskImageFormat = javaType.diskImageFormat(),
roleName = javaType.roleName(),
s3Bucket = javaType.s3Bucket(),
s3Prefix = javaType.s3Prefix().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy