com.pulumi.aws.cleanrooms.ConfiguredTable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.cleanrooms;
import com.pulumi.aws.Utilities;
import com.pulumi.aws.cleanrooms.ConfiguredTableArgs;
import com.pulumi.aws.cleanrooms.inputs.ConfiguredTableState;
import com.pulumi.aws.cleanrooms.outputs.ConfiguredTableTableReference;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* 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
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* 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()
* .name("pulumi-example-table")
* .description("I made this table with Pulumi!")
* .analysisMethod("DIRECT_QUERY")
* .allowedColumns(
* "column1",
* "column2",
* "column3")
* .tableReference(ConfiguredTableTableReferenceArgs.builder()
* .databaseName("example_database")
* .tableName("example_table")
* .build())
* .tags(Map.of("Project", "Pulumi"))
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Using `pulumi import`, import `aws_cleanrooms_configured_table` using the `id`. For example:
*
* ```sh
* $ pulumi import aws:cleanrooms/configuredTable:ConfiguredTable table 1234abcd-12ab-34cd-56ef-1234567890ab
* ```
*
*/
@ResourceType(type="aws:cleanrooms/configuredTable:ConfiguredTable")
public class ConfiguredTable extends com.pulumi.resources.CustomResource {
/**
* The columns of the references table which will be included in the configured table.
*
*/
@Export(name="allowedColumns", refs={List.class,String.class}, tree="[0,1]")
private Output> allowedColumns;
/**
* @return The columns of the references table which will be included in the configured table.
*
*/
public Output> allowedColumns() {
return this.allowedColumns;
}
/**
* The analysis method for the configured table. The only valid value is currently `DIRECT_QUERY`.
*
*/
@Export(name="analysisMethod", refs={String.class}, tree="[0]")
private Output analysisMethod;
/**
* @return The analysis method for the configured table. The only valid value is currently `DIRECT_QUERY`.
*
*/
public Output analysisMethod() {
return this.analysisMethod;
}
/**
* The ARN of the configured table.
*
*/
@Export(name="arn", refs={String.class}, tree="[0]")
private Output arn;
/**
* @return The ARN of the configured table.
*
*/
public Output arn() {
return this.arn;
}
/**
* The date and time the configured table was created.
*
*/
@Export(name="createTime", refs={String.class}, tree="[0]")
private Output createTime;
/**
* @return The date and time the configured table was created.
*
*/
public Output createTime() {
return this.createTime;
}
/**
* A description for the configured table.
*
*/
@Export(name="description", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> description;
/**
* @return A description for the configured table.
*
*/
public Output> description() {
return Codegen.optional(this.description);
}
/**
* The name of the configured table.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return The name of the configured table.
*
*/
public Output name() {
return this.name;
}
/**
* A reference to the AWS Glue table which will be used to create the configured table.
* * `table_reference.database_name` - (Required - Forces new resource) - The name of the AWS Glue database which contains the table.
* * `table_reference.table_name` - (Required - Forces new resource) - The name of the AWS Glue table which will be used to create the configured table.
*
*/
@Export(name="tableReference", refs={ConfiguredTableTableReference.class}, tree="[0]")
private Output tableReference;
/**
* @return A reference to the AWS Glue table which will be used to create the configured table.
* * `table_reference.database_name` - (Required - Forces new resource) - The name of the AWS Glue database which contains the table.
* * `table_reference.table_name` - (Required - Forces new resource) - The name of the AWS Glue table which will be used to create the configured table.
*
*/
public Output tableReference() {
return this.tableReference;
}
/**
* Key value pairs which tag the configured table.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return Key value pairs which tag the configured table.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* @deprecated
* Please use `tags` instead.
*
*/
@Deprecated /* Please use `tags` instead. */
@Export(name="tagsAll", refs={Map.class,String.class}, tree="[0,1,1]")
private Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy