
com.pulumi.awsnative.imagebuilder.kotlin.outputs.DistributionConfigurationLaunchPermissionConfiguration.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.imagebuilder.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
* @property organizationArns The ARN for an Amazon Web Services Organization that you want to share your AMI with.
* @property organizationalUnitArns The ARN for an Organizations organizational unit (OU) that you want to share your AMI with.
* @property userGroups The name of the group.
* @property userIds The AWS account ID.
*/
public data class DistributionConfigurationLaunchPermissionConfiguration(
public val organizationArns: List? = null,
public val organizationalUnitArns: List? = null,
public val userGroups: List? = null,
public val userIds: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.imagebuilder.outputs.DistributionConfigurationLaunchPermissionConfiguration): DistributionConfigurationLaunchPermissionConfiguration =
DistributionConfigurationLaunchPermissionConfiguration(
organizationArns = javaType.organizationArns().map({ args0 -> args0 }),
organizationalUnitArns = javaType.organizationalUnitArns().map({ args0 -> args0 }),
userGroups = javaType.userGroups().map({ args0 -> args0 }),
userIds = javaType.userIds().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy