@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
30 lines (29 loc) • 1.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as enums from "../types/enums";
/**
* AWS::CloudWatch::OTelEnrichment enables OTel metric enrichment in CloudWatch, allowing CloudWatch vended metrics to be available for PromQL querying enriched with AWS resource tags and metadata.
*/
export declare function getOTelEnrichment(args: GetOTelEnrichmentArgs, opts?: pulumi.InvokeOptions): Promise<GetOTelEnrichmentResult>;
export interface GetOTelEnrichmentArgs {
/**
* The AWS account ID. This is the primary identifier for this singleton resource.
*/
accountId: string;
}
export interface GetOTelEnrichmentResult {
/**
* The AWS account ID. This is the primary identifier for this singleton resource.
*/
readonly accountId?: string;
readonly status?: enums.cloudwatch.OTelEnrichmentStatus;
}
/**
* AWS::CloudWatch::OTelEnrichment enables OTel metric enrichment in CloudWatch, allowing CloudWatch vended metrics to be available for PromQL querying enriched with AWS resource tags and metadata.
*/
export declare function getOTelEnrichmentOutput(args: GetOTelEnrichmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOTelEnrichmentResult>;
export interface GetOTelEnrichmentOutputArgs {
/**
* The AWS account ID. This is the primary identifier for this singleton resource.
*/
accountId: pulumi.Input<string>;
}