
com.pulumi.awsnative.sso.kotlin.inputs.GetPermissionSetPlainArgs.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.sso.kotlin.inputs
import com.pulumi.awsnative.sso.inputs.GetPermissionSetPlainArgs.builder
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 instanceArn The sso instance arn that the permission set is owned.
* @property permissionSetArn The permission set that the policy will be attached to
*/
public data class GetPermissionSetPlainArgs(
public val instanceArn: String,
public val permissionSetArn: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sso.inputs.GetPermissionSetPlainArgs =
com.pulumi.awsnative.sso.inputs.GetPermissionSetPlainArgs.builder()
.instanceArn(instanceArn.let({ args0 -> args0 }))
.permissionSetArn(permissionSetArn.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetPermissionSetPlainArgs].
*/
@PulumiTagMarker
public class GetPermissionSetPlainArgsBuilder internal constructor() {
private var instanceArn: String? = null
private var permissionSetArn: String? = null
/**
* @param value The sso instance arn that the permission set is owned.
*/
@JvmName("baksdfwglvqkclxk")
public suspend fun instanceArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.instanceArn = mapped
}
/**
* @param value The permission set that the policy will be attached to
*/
@JvmName("kroerqxvyhybsbbx")
public suspend fun permissionSetArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.permissionSetArn = mapped
}
internal fun build(): GetPermissionSetPlainArgs = GetPermissionSetPlainArgs(
instanceArn = instanceArn ?: throw PulumiNullFieldException("instanceArn"),
permissionSetArn = permissionSetArn ?: throw PulumiNullFieldException("permissionSetArn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy