1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. lakeformation
  5. getTag

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.lakeformation.getTag

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

A resource schema representing a Lake Formation Tag.

Using getTag

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getTag(args: GetTagArgs, opts?: InvokeOptions): Promise<GetTagResult>
function getTagOutput(args: GetTagOutputArgs, opts?: InvokeOptions): Output<GetTagResult>
Copy
def get_tag(tag_key: Optional[str] = None,
            opts: Optional[InvokeOptions] = None) -> GetTagResult
def get_tag_output(tag_key: Optional[pulumi.Input[str]] = None,
            opts: Optional[InvokeOptions] = None) -> Output[GetTagResult]
Copy
func LookupTag(ctx *Context, args *LookupTagArgs, opts ...InvokeOption) (*LookupTagResult, error)
func LookupTagOutput(ctx *Context, args *LookupTagOutputArgs, opts ...InvokeOption) LookupTagResultOutput
Copy

> Note: This function is named LookupTag in the Go SDK.

public static class GetTag 
{
    public static Task<GetTagResult> InvokeAsync(GetTagArgs args, InvokeOptions? opts = null)
    public static Output<GetTagResult> Invoke(GetTagInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTagResult> getTag(GetTagArgs args, InvokeOptions options)
public static Output<GetTagResult> getTag(GetTagArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:lakeformation:getTag
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

TagKey This property is required. string
The key-name for the LF-tag.
TagKey This property is required. string
The key-name for the LF-tag.
tagKey This property is required. String
The key-name for the LF-tag.
tagKey This property is required. string
The key-name for the LF-tag.
tag_key This property is required. str
The key-name for the LF-tag.
tagKey This property is required. String
The key-name for the LF-tag.

getTag Result

The following output properties are available:

TagValues List<string>
A list of possible values an attribute can take.
TagValues []string
A list of possible values an attribute can take.
tagValues List<String>
A list of possible values an attribute can take.
tagValues string[]
A list of possible values an attribute can take.
tag_values Sequence[str]
A list of possible values an attribute can take.
tagValues List<String>
A list of possible values an attribute can take.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi