
com.pulumi.awsnative.sso.kotlin.inputs.PermissionSetCustomerManagedPolicyReferenceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sso.kotlin.inputs
import com.pulumi.awsnative.sso.inputs.PermissionSetCustomerManagedPolicyReferenceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property name The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
* @property path The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is `/` . For more information, see [Friendly names and paths](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) in the *IAM User Guide* .
*/
public data class PermissionSetCustomerManagedPolicyReferenceArgs(
public val name: Output,
public val path: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sso.inputs.PermissionSetCustomerManagedPolicyReferenceArgs =
com.pulumi.awsnative.sso.inputs.PermissionSetCustomerManagedPolicyReferenceArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.path(path?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PermissionSetCustomerManagedPolicyReferenceArgs].
*/
@PulumiTagMarker
public class PermissionSetCustomerManagedPolicyReferenceArgsBuilder internal constructor() {
private var name: Output? = null
private var path: Output? = null
/**
* @param value The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
*/
@JvmName("iyhhremowgrmkaic")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is `/` . For more information, see [Friendly names and paths](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) in the *IAM User Guide* .
*/
@JvmName("hchuvjnjyfaadgdj")
public suspend fun path(`value`: Output) {
this.path = value
}
/**
* @param value The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
*/
@JvmName("cjbtbucnaruuowdt")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is `/` . For more information, see [Friendly names and paths](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) in the *IAM User Guide* .
*/
@JvmName("vckjtlmhmujoutns")
public suspend fun path(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.path = mapped
}
internal fun build(): PermissionSetCustomerManagedPolicyReferenceArgs =
PermissionSetCustomerManagedPolicyReferenceArgs(
name = name ?: throw PulumiNullFieldException("name"),
path = path,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy