LfTagArgs

data class LfTagArgs(val catalogId: Output<String>? = null, val key: Output<String>? = null, val values: Output<List<String>>? = null) : ConvertibleToJava<LfTagArgs>

Creates an LF-Tag with the specified name and values. Each key must have at least one value. The maximum number of values permitted is 15.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lakeformation.LfTag;
import com.pulumi.aws.lakeformation.LfTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new LfTag("example", LfTagArgs.builder()
.key("module")
.values(
"Orders",
"Sales",
"Customers")
.build());
}
}

Import

Lake Formation LF-Tags can be imported using the catalog_id:key. If you have not set a Catalog ID specify the AWS Account ID that the database is in, e.g.

$ pulumi import aws:lakeformation/lfTag:LfTag example 123456789012:some_key

Constructors

Link copied to clipboard
constructor(catalogId: Output<String>? = null, key: Output<String>? = null, values: Output<List<String>>? = null)

Properties

Link copied to clipboard
val catalogId: Output<String>? = null

ID of the Data Catalog to create the tag in. If omitted, this defaults to the AWS Account ID.

Link copied to clipboard
val key: Output<String>? = null

Key-name for the tag.

Link copied to clipboard
val values: Output<List<String>>? = null

List of possible values an attribute can take.

Functions

Link copied to clipboard
open override fun toJava(): LfTagArgs