![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lakeformation.kotlin.inputs.GetPrincipalPermissionsPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lakeformation.kotlin.inputs
import com.pulumi.awsnative.lakeformation.inputs.GetPrincipalPermissionsPlainArgs.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 principalIdentifier Json encoding of the input principal. For example: `{"DataLakePrincipalIdentifier":"arn:aws:iam::123456789012:role/ExampleRole"}`
* @property resourceIdentifier Json encoding of the input resource. For example: `{"Catalog":null,"Database":null,"Table":null,"TableWithColumns":null,"DataLocation":null,"DataCellsFilter":{"TableCatalogId":"123456789012","DatabaseName":"ExampleDatabase","TableName":"ExampleTable","Name":"ExampleFilter"},"LFTag":null,"LFTagPolicy":null}`
*/
public data class GetPrincipalPermissionsPlainArgs(
public val principalIdentifier: String,
public val resourceIdentifier: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lakeformation.inputs.GetPrincipalPermissionsPlainArgs = com.pulumi.awsnative.lakeformation.inputs.GetPrincipalPermissionsPlainArgs.builder()
.principalIdentifier(principalIdentifier.let({ args0 -> args0 }))
.resourceIdentifier(resourceIdentifier.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetPrincipalPermissionsPlainArgs].
*/
@PulumiTagMarker
public class GetPrincipalPermissionsPlainArgsBuilder internal constructor() {
private var principalIdentifier: String? = null
private var resourceIdentifier: String? = null
/**
* @param value Json encoding of the input principal. For example: `{"DataLakePrincipalIdentifier":"arn:aws:iam::123456789012:role/ExampleRole"}`
*/
@JvmName("eioerbjvkgvrixso")
public suspend fun principalIdentifier(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.principalIdentifier = mapped
}
/**
* @param value Json encoding of the input resource. For example: `{"Catalog":null,"Database":null,"Table":null,"TableWithColumns":null,"DataLocation":null,"DataCellsFilter":{"TableCatalogId":"123456789012","DatabaseName":"ExampleDatabase","TableName":"ExampleTable","Name":"ExampleFilter"},"LFTag":null,"LFTagPolicy":null}`
*/
@JvmName("trqardsnobomkbgj")
public suspend fun resourceIdentifier(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceIdentifier = mapped
}
internal fun build(): GetPrincipalPermissionsPlainArgs = GetPrincipalPermissionsPlainArgs(
principalIdentifier = principalIdentifier ?: throw PulumiNullFieldException("principalIdentifier"),
resourceIdentifier = resourceIdentifier ?: throw PulumiNullFieldException("resourceIdentifier"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy