1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. cloudwatch
  6. getOTelEnrichment

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

Viewing docs for AWS Cloud Control v1.63.0
published on Monday, May 4, 2026 by Pulumi
aws-native logo

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

Viewing docs for AWS Cloud Control v1.63.0
published on Monday, May 4, 2026 by Pulumi

    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.

    Using getOTelEnrichment

    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 getOTelEnrichment(args: GetOTelEnrichmentArgs, opts?: InvokeOptions): Promise<GetOTelEnrichmentResult>
    function getOTelEnrichmentOutput(args: GetOTelEnrichmentOutputArgs, opts?: InvokeOptions): Output<GetOTelEnrichmentResult>
    def get_o_tel_enrichment(account_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetOTelEnrichmentResult
    def get_o_tel_enrichment_output(account_id: pulumi.Input[Optional[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetOTelEnrichmentResult]
    func LookupOTelEnrichment(ctx *Context, args *LookupOTelEnrichmentArgs, opts ...InvokeOption) (*LookupOTelEnrichmentResult, error)
    func LookupOTelEnrichmentOutput(ctx *Context, args *LookupOTelEnrichmentOutputArgs, opts ...InvokeOption) LookupOTelEnrichmentResultOutput

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

    public static class GetOTelEnrichment 
    {
        public static Task<GetOTelEnrichmentResult> InvokeAsync(GetOTelEnrichmentArgs args, InvokeOptions? opts = null)
        public static Output<GetOTelEnrichmentResult> Invoke(GetOTelEnrichmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOTelEnrichmentResult> getOTelEnrichment(GetOTelEnrichmentArgs args, InvokeOptions options)
    public static Output<GetOTelEnrichmentResult> getOTelEnrichment(GetOTelEnrichmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:cloudwatch:getOTelEnrichment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    The AWS account ID. This is the primary identifier for this singleton resource.
    AccountId string
    The AWS account ID. This is the primary identifier for this singleton resource.
    accountId String
    The AWS account ID. This is the primary identifier for this singleton resource.
    accountId string
    The AWS account ID. This is the primary identifier for this singleton resource.
    account_id str
    The AWS account ID. This is the primary identifier for this singleton resource.
    accountId String
    The AWS account ID. This is the primary identifier for this singleton resource.

    getOTelEnrichment Result

    The following output properties are available:

    AccountId string
    The AWS account ID. This is the primary identifier for this singleton resource.
    Status Pulumi.AwsNative.CloudWatch.OTelEnrichmentStatus
    AccountId string
    The AWS account ID. This is the primary identifier for this singleton resource.
    Status OTelEnrichmentStatus
    accountId String
    The AWS account ID. This is the primary identifier for this singleton resource.
    status OTelEnrichmentStatus
    accountId string
    The AWS account ID. This is the primary identifier for this singleton resource.
    status OTelEnrichmentStatus
    account_id str
    The AWS account ID. This is the primary identifier for this singleton resource.
    status OTelEnrichmentStatus
    accountId String
    The AWS account ID. This is the primary identifier for this singleton resource.
    status "RUNNING" | "STOPPED"

    Supporting Types

    OTelEnrichmentStatus

    Package Details

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

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

    Viewing docs for AWS Cloud Control v1.63.0
    published on Monday, May 4, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.