import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the default tags configured on the provider. * * With this data source, you can apply default tags to resources not _directly_ managed by a resource, such as the instances underneath an Auto Scaling group or the volumes created for an EC2 instance. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.getDefaultTags({}); * ``` * * ### Dynamically Apply Default Tags to Auto Scaling Group * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.getDefaultTags({}); * const exampleGroup = new aws.autoscaling.Group("example", {tags: example.then(example => .map(([key, entry]) => ({ * key: key, * value: entry, * propagateAtLaunch: true, * })))}); * ``` */ export declare function getDefaultTags(args?: GetDefaultTagsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDefaultTags. */ export interface GetDefaultTagsArgs { /** * @deprecated This attribute will be removed in a future version of the provider. */ id?: string; } /** * A collection of values returned by getDefaultTags. */ export interface GetDefaultTagsResult { /** * @deprecated This attribute will be removed in a future version of the provider. */ readonly id: string; /** * Key-value mapping of provider default tags. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to get the default tags configured on the provider. * * With this data source, you can apply default tags to resources not _directly_ managed by a resource, such as the instances underneath an Auto Scaling group or the volumes created for an EC2 instance. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.getDefaultTags({}); * ``` * * ### Dynamically Apply Default Tags to Auto Scaling Group * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.getDefaultTags({}); * const exampleGroup = new aws.autoscaling.Group("example", {tags: example.then(example => .map(([key, entry]) => ({ * key: key, * value: entry, * propagateAtLaunch: true, * })))}); * ``` */ export declare function getDefaultTagsOutput(args?: GetDefaultTagsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDefaultTags. */ export interface GetDefaultTagsOutputArgs { /** * @deprecated This attribute will be removed in a future version of the provider. */ id?: pulumi.Input; } //# sourceMappingURL=getDefaultTags.d.ts.map