AWS Classic

v4.30.0 published on Tuesday, Nov 30, 2021 by Pulumi

getDefaultTags

Using getDefaultTags

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 getDefaultTags(args: GetDefaultTagsArgs, opts?: InvokeOptions): Promise<GetDefaultTagsResult>
function getDefaultTagsOutput(args: GetDefaultTagsOutputArgs, opts?: InvokeOptions): Output<GetDefaultTagsResult>
def get_default_tags(tags: Optional[Mapping[str, str]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetDefaultTagsResult
def get_default_tags_output(tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetDefaultTagsResult]
func GetDefaultTags(ctx *Context, args *GetDefaultTagsArgs, opts ...InvokeOption) (*GetDefaultTagsResult, error)
func GetDefaultTagsOutput(ctx *Context, args *GetDefaultTagsOutputArgs, opts ...InvokeOption) GetDefaultTagsResultOutput

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

public static class GetDefaultTags 
{
    public static Task<GetDefaultTagsResult> InvokeAsync(GetDefaultTagsArgs args, InvokeOptions? opts = null)
    public static Output<GetDefaultTagsResult> Invoke(GetDefaultTagsInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Tags Dictionary<string, string>
Blocks of default tags set on the provider. See details below.
Tags map[string]string
Blocks of default tags set on the provider. See details below.
tags {[key: string]: string}
Blocks of default tags set on the provider. See details below.
tags Mapping[str, str]
Blocks of default tags set on the provider. See details below.

getDefaultTags Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Tags Dictionary<string, string>
Blocks of default tags set on the provider. See details below.
Id string
The provider-assigned unique ID for this managed resource.
Tags map[string]string
Blocks of default tags set on the provider. See details below.
id string
The provider-assigned unique ID for this managed resource.
tags {[key: string]: string}
Blocks of default tags set on the provider. See details below.
id str
The provider-assigned unique ID for this managed resource.
tags Mapping[str, str]
Blocks of default tags set on the provider. See details below.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.