com.pulumi.aws.imagebuilder.kotlin.outputs.GetDistributionConfigurationDistribution.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.imagebuilder.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property amiDistributionConfigurations Nested list of AMI distribution configuration.
* @property containerDistributionConfigurations Nested list of container distribution configurations.
* @property fastLaunchConfigurations Nested list of Windows faster-launching configurations to use for AMI distribution.
* @property launchTemplateConfigurations Nested list of launch template configurations.
* @property licenseConfigurationArns Set of Amazon Resource Names (ARNs) of License Manager License Configurations.
* @property region AWS Region of distribution.
* @property s3ExportConfigurations Nested list of S3 export configuration.
*/
public data class GetDistributionConfigurationDistribution(
public val amiDistributionConfigurations: List,
public val containerDistributionConfigurations: List,
public val fastLaunchConfigurations: List,
public val launchTemplateConfigurations: List,
public val licenseConfigurationArns: List,
public val region: String,
public val s3ExportConfigurations: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.imagebuilder.outputs.GetDistributionConfigurationDistribution): GetDistributionConfigurationDistribution = GetDistributionConfigurationDistribution(
amiDistributionConfigurations = javaType.amiDistributionConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.imagebuilder.kotlin.outputs.GetDistributionConfigurationDistributionAmiDistributionConfiguration.Companion.toKotlin(args0)
})
}),
containerDistributionConfigurations = javaType.containerDistributionConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.imagebuilder.kotlin.outputs.GetDistributionConfigurationDistributionContainerDistributionConfiguration.Companion.toKotlin(args0)
})
}),
fastLaunchConfigurations = javaType.fastLaunchConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.imagebuilder.kotlin.outputs.GetDistributionConfigurationDistributionFastLaunchConfiguration.Companion.toKotlin(args0)
})
}),
launchTemplateConfigurations = javaType.launchTemplateConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.imagebuilder.kotlin.outputs.GetDistributionConfigurationDistributionLaunchTemplateConfiguration.Companion.toKotlin(args0)
})
}),
licenseConfigurationArns = javaType.licenseConfigurationArns().map({ args0 -> args0 }),
region = javaType.region(),
s3ExportConfigurations = javaType.s3ExportConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.imagebuilder.kotlin.outputs.GetDistributionConfigurationDistributionS3ExportConfiguration.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy