Package com.pulumi.aws.cleanrooms
Class ConfiguredTable
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.cleanrooms.ConfiguredTable
-
public class ConfiguredTable extends com.pulumi.resources.CustomResourceProvides 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
## Import ### Identity Schema #### Required * `id` - (String) ID of the cleanrooms configured table. #### Optional * `accountId` (String) AWS Account where this resource is managed. * `region` (String) Region where this resource is managed. Using `pulumi import`, import `aws.cleanrooms.ConfiguredTable` using the `id`. For example: ```sh $ pulumi import aws:cleanrooms/configuredTable:ConfiguredTable table 1234abcd-12ab-34cd-56ef-1234567890ab ```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.ArrayList; import java.util.Arrays; 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() .tableReference(ConfiguredTableTableReferenceArgs.builder() .databaseName("example_database") .tableName("example_table") .build()) .name("pulumi-example-table") .description("I made this table with Pulumi!") .analysisMethod("DIRECT_QUERY") .allowedColumns( "column1", "column2", "column3") .tags(Map.of("Project", "Pulumi")) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description ConfiguredTable(java.lang.String name)ConfiguredTable(java.lang.String name, ConfiguredTableArgs args)ConfiguredTable(java.lang.String name, ConfiguredTableArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.util.List<java.lang.String>>allowedColumns()com.pulumi.core.Output<java.lang.String>analysisMethod()com.pulumi.core.Output<java.lang.String>arn()com.pulumi.core.Output<java.lang.String>createTime()com.pulumi.core.Output<java.util.Optional<java.lang.String>>description()static ConfiguredTableget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ConfiguredTableState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>name()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<ConfiguredTableTableReference>tableReference()com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>tags()com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>tagsAll()com.pulumi.core.Output<java.lang.String>updateTime()
-
-
-
Constructor Detail
-
ConfiguredTable
public ConfiguredTable(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
ConfiguredTable
public ConfiguredTable(java.lang.String name, ConfiguredTableArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
ConfiguredTable
public ConfiguredTable(java.lang.String name, ConfiguredTableArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
allowedColumns
public com.pulumi.core.Output<java.util.List<java.lang.String>> allowedColumns()
- Returns:
- The columns of the references table which will be included in the configured table.
-
analysisMethod
public com.pulumi.core.Output<java.lang.String> analysisMethod()
- Returns:
- The analysis method for the configured table. The only valid value is currently `DIRECT_QUERY`.
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- The ARN of the configured table.
-
createTime
public com.pulumi.core.Output<java.lang.String> createTime()
- Returns:
- The date and time the configured table was created.
-
description
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()
- Returns:
- A description for the configured table.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The name of the configured table.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
tableReference
public com.pulumi.core.Output<ConfiguredTableTableReference> tableReference()
- Returns:
- 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.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Key value pairs which tag the configured table.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
-
updateTime
public com.pulumi.core.Output<java.lang.String> updateTime()
- Returns:
- The date and time the configured table was last updated.
-
get
public static ConfiguredTable get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable ConfiguredTableState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-