com.pulumi.aws.imagebuilder.kotlin.inputs.DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs.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.inputs
import com.pulumi.aws.imagebuilder.inputs.DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property organizationArns Set of AWS Organization ARNs to assign.
* @property organizationalUnitArns Set of AWS Organizational Unit ARNs to assign.
* @property userGroups Set of EC2 launch permission user groups to assign. Use `all` to distribute a public AMI.
* @property userIds Set of AWS Account identifiers to assign.
*/
public data class
DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs(
public val organizationArns: Output>? = null,
public val organizationalUnitArns: Output>? = null,
public val userGroups: Output>? = null,
public val userIds: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.imagebuilder.inputs.DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs =
com.pulumi.aws.imagebuilder.inputs.DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs.builder()
.organizationArns(organizationArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.organizationalUnitArns(
organizationalUnitArns?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.userGroups(userGroups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.userIds(userIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs].
*/
@PulumiTagMarker
public class
DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgsBuilder
internal constructor() {
private var organizationArns: Output>? = null
private var organizationalUnitArns: Output>? = null
private var userGroups: Output>? = null
private var userIds: Output>? = null
/**
* @param value Set of AWS Organization ARNs to assign.
*/
@JvmName("hadetwpmnqyqrfvd")
public suspend fun organizationArns(`value`: Output>) {
this.organizationArns = value
}
@JvmName("ygpvmyornffydjwx")
public suspend fun organizationArns(vararg values: Output) {
this.organizationArns = Output.all(values.asList())
}
/**
* @param values Set of AWS Organization ARNs to assign.
*/
@JvmName("hoybibekgsqdqqsj")
public suspend fun organizationArns(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy