Package com.pulumi.aws.lakeformation
Class ResourceLfTag
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.lakeformation.ResourceLfTag
-
public class ResourceLfTag extends com.pulumi.resources.CustomResourceResource for managing an AWS Lake Formation Resource LF Tag. ## Example Usage ### Basic Usage
## Import You cannot import this resource.package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.lakeformation.ResourceLfTag; import com.pulumi.aws.lakeformation.ResourceLfTagArgs; import com.pulumi.aws.lakeformation.inputs.ResourceLfTagDatabaseArgs; import com.pulumi.aws.lakeformation.inputs.ResourceLfTagLfTagArgs; 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 example = new ResourceLfTag("example", ResourceLfTagArgs.builder() .database(ResourceLfTagDatabaseArgs.builder() .name(exampleAwsGlueCatalogDatabase.name()) .build()) .lfTag(ResourceLfTagLfTagArgs.builder() .key(exampleAwsLakeformationLfTag.key()) .value("stowe") .build()) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description ResourceLfTag(java.lang.String name)ResourceLfTag(java.lang.String name, ResourceLfTagArgs args)ResourceLfTag(java.lang.String name, ResourceLfTagArgs 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.Optional<java.lang.String>>catalogId()com.pulumi.core.Output<java.util.Optional<ResourceLfTagDatabase>>database()static ResourceLfTagget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ResourceLfTagState 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<ResourceLfTagLfTag>lfTag()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.util.Optional<ResourceLfTagTable>>table()com.pulumi.core.Output<java.util.Optional<ResourceLfTagTableWithColumns>>tableWithColumns()com.pulumi.core.Output<java.util.Optional<ResourceLfTagTimeouts>>timeouts()
-
-
-
Constructor Detail
-
ResourceLfTag
public ResourceLfTag(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
ResourceLfTag
public ResourceLfTag(java.lang.String name, ResourceLfTagArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
ResourceLfTag
public ResourceLfTag(java.lang.String name, ResourceLfTagArgs 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
-
catalogId
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> catalogId()
- Returns:
- Identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
-
database
public com.pulumi.core.Output<java.util.Optional<ResourceLfTagDatabase>> database()
- Returns:
- Configuration block for a database resource. See Database for more details.
-
lfTag
public com.pulumi.core.Output<ResourceLfTagLfTag> lfTag()
- Returns:
- Set of LF-tags to attach to the resource. See LF Tag for more details. Exactly one of the following is required:
-
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.
-
table
public com.pulumi.core.Output<java.util.Optional<ResourceLfTagTable>> table()
- Returns:
- Configuration block for a table resource. See Table for more details.
-
tableWithColumns
public com.pulumi.core.Output<java.util.Optional<ResourceLfTagTableWithColumns>> tableWithColumns()
- Returns:
- Configuration block for a table with columns resource. See Table With Columns for more details. The following arguments are optional:
-
timeouts
public com.pulumi.core.Output<java.util.Optional<ResourceLfTagTimeouts>> timeouts()
-
get
public static ResourceLfTag get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable ResourceLfTagState 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.
-
-