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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

aws-native.lakeformation.getTag

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 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>
    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]
    func LookupTag(ctx *Context, args *LookupTagArgs, opts ...InvokeOption) (*LookupTagResult, error)
    func LookupTagOutput(ctx *Context, args *LookupTagOutputArgs, opts ...InvokeOption) LookupTagResultOutput

    > 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)
    }
    public static CompletableFuture<GetTagResult> getTag(GetTagArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:lakeformation:getTag
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TagKey string
    The key-name for the LF-tag.
    TagKey string
    The key-name for the LF-tag.
    tagKey String
    The key-name for the LF-tag.
    tagKey string
    The key-name for the LF-tag.
    tag_key str
    The key-name for the LF-tag.
    tagKey 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
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi