Lf Tag Args
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());
}
}
Content copied to clipboard
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
Content copied to clipboard