Configured Table
Provides a AWS Clean Rooms configured table. Configured tables are used to represent references to existing tables in the AWS Glue Data Catalog.
Example Usage
Configured table with tags
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cleanrooms.ConfiguredTable;
import com.pulumi.aws.cleanrooms.ConfiguredTableArgs;
import com.pulumi.aws.cleanrooms.inputs.ConfiguredTableTableReferenceArgs;
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 testConfiguredTable = new ConfiguredTable("testConfiguredTable", ConfiguredTableArgs.builder()
.allowedColumns(
"column1",
"column2",
"column3")
.analysisMethod("DIRECT_QUERY")
.description("I made this table with Pulumi!")
.tableReference(ConfiguredTableTableReferenceArgs.builder()
.databaseName("example_database")
.tableName("example_table")
.build())
.tags(Map.of("Project", "Pulumi"))
.build());
}
}
Content copied to clipboard
Import
Using pulumi import
, import aws_cleanrooms_configured_table
using the id
. For example:
$ pulumi import aws:cleanrooms/configuredTable:ConfiguredTable table 1234abcd-12ab-34cd-56ef-1234567890ab
Content copied to clipboard