All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.lakeformation.kotlin.outputs.PrincipalPermissionsTableResource.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lakeformation.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A structure for the table object. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
 * @property catalogId The identifier for the Data Catalog. By default, it is the account ID of the caller.
 * @property databaseName The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
 * @property name The name of the table.
 * @property tableWildcard A wildcard object representing every table under a database.
 *  At least one of ``TableResource$Name`` or ``TableResource$TableWildcard`` is required.
 */
public data class PrincipalPermissionsTableResource(
    public val catalogId: String,
    public val databaseName: String,
    public val name: String? = null,
    public val tableWildcard: PrincipalPermissionsTableWildcard? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lakeformation.outputs.PrincipalPermissionsTableResource): PrincipalPermissionsTableResource = PrincipalPermissionsTableResource(
            catalogId = javaType.catalogId(),
            databaseName = javaType.databaseName(),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            tableWildcard = javaType.tableWildcard().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.lakeformation.kotlin.outputs.PrincipalPermissionsTableWildcard.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy