1. Registry
  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.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 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?: InvokeOutputOptions): 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[InvokeOutputOptions] = 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 Output<GetOTelEnrichmentResult> Invoke(GetOTelEnrichmentInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetOTelEnrichmentResult> getOTelEnrichment(GetOTelEnrichmentArgs args, InvokeOptions options)
    public static Output<GetOTelEnrichmentResult> getOTelEnrichment(GetOTelEnrichmentArgs args, InvokeOptions options)
    public static Output<GetOTelEnrichmentResult> getOTelEnrichment(GetOTelEnrichmentArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:cloudwatch:getOTelEnrichment
      arguments:
        # arguments dictionary
    data "aws-native_cloudwatch_get_o_tel_enrichment" "name" {
        # arguments
    }

    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.
    account_id 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.
    ExcludeFilters List<Pulumi.AwsNative.CloudWatch.Outputs.OTelEnrichmentMetricSelector>
    Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
    IncludeFilters List<Pulumi.AwsNative.CloudWatch.Outputs.OTelEnrichmentMetricSelector>
    Scopes enrichment to a subset of the account's telemetry. Absent or empty means all namespaces are in scope. Present means only these are. The service enforces a combined cap of 100 selectors across IncludeFilters and ExcludeFilters, and rejects more than one selector for the same namespace within a direction.
    Status Pulumi.AwsNative.CloudWatch.OTelEnrichmentStatus
    AccountId string
    The AWS account ID. This is the primary identifier for this singleton resource.
    ExcludeFilters []OTelEnrichmentMetricSelector
    Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
    IncludeFilters []OTelEnrichmentMetricSelector
    Scopes enrichment to a subset of the account's telemetry. Absent or empty means all namespaces are in scope. Present means only these are. The service enforces a combined cap of 100 selectors across IncludeFilters and ExcludeFilters, and rejects more than one selector for the same namespace within a direction.
    Status OTelEnrichmentStatus
    account_id string
    The AWS account ID. This is the primary identifier for this singleton resource.
    exclude_filters list(object)
    Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
    include_filters list(object)
    Scopes enrichment to a subset of the account's telemetry. Absent or empty means all namespaces are in scope. Present means only these are. The service enforces a combined cap of 100 selectors across IncludeFilters and ExcludeFilters, and rejects more than one selector for the same namespace within a direction.
    status "RUNNING" | "STOPPED"
    accountId String
    The AWS account ID. This is the primary identifier for this singleton resource.
    excludeFilters List<OTelEnrichmentMetricSelector>
    Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
    includeFilters List<OTelEnrichmentMetricSelector>
    Scopes enrichment to a subset of the account's telemetry. Absent or empty means all namespaces are in scope. Present means only these are. The service enforces a combined cap of 100 selectors across IncludeFilters and ExcludeFilters, and rejects more than one selector for the same namespace within a direction.
    status OTelEnrichmentStatus
    accountId string
    The AWS account ID. This is the primary identifier for this singleton resource.
    excludeFilters OTelEnrichmentMetricSelector[]
    Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
    includeFilters OTelEnrichmentMetricSelector[]
    Scopes enrichment to a subset of the account's telemetry. Absent or empty means all namespaces are in scope. Present means only these are. The service enforces a combined cap of 100 selectors across IncludeFilters and ExcludeFilters, and rejects more than one selector for the same namespace within a direction.
    status OTelEnrichmentStatus
    account_id str
    The AWS account ID. This is the primary identifier for this singleton resource.
    exclude_filters Sequence[OTelEnrichmentMetricSelector]
    Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
    include_filters Sequence[OTelEnrichmentMetricSelector]
    Scopes enrichment to a subset of the account's telemetry. Absent or empty means all namespaces are in scope. Present means only these are. The service enforces a combined cap of 100 selectors across IncludeFilters and ExcludeFilters, and rejects more than one selector for the same namespace within a direction.
    status OTelEnrichmentStatus
    accountId String
    The AWS account ID. This is the primary identifier for this singleton resource.
    excludeFilters List<Property Map>
    Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
    includeFilters List<Property Map>
    Scopes enrichment to a subset of the account's telemetry. Absent or empty means all namespaces are in scope. Present means only these are. The service enforces a combined cap of 100 selectors across IncludeFilters and ExcludeFilters, and rejects more than one selector for the same namespace within a direction.
    status "RUNNING" | "STOPPED"

    Supporting Types

    OTelEnrichmentMetricSelector

    Namespace string
    The CloudWatch namespace this selector applies to.
    MetricNames List<string>
    Absent or empty means every metric in this namespace, in whichever direction this selector appears. Present means only these metric names.
    Namespace string
    The CloudWatch namespace this selector applies to.
    MetricNames []string
    Absent or empty means every metric in this namespace, in whichever direction this selector appears. Present means only these metric names.
    namespace string
    The CloudWatch namespace this selector applies to.
    metric_names list(string)
    Absent or empty means every metric in this namespace, in whichever direction this selector appears. Present means only these metric names.
    namespace String
    The CloudWatch namespace this selector applies to.
    metricNames List<String>
    Absent or empty means every metric in this namespace, in whichever direction this selector appears. Present means only these metric names.
    namespace string
    The CloudWatch namespace this selector applies to.
    metricNames string[]
    Absent or empty means every metric in this namespace, in whichever direction this selector appears. Present means only these metric names.
    namespace str
    The CloudWatch namespace this selector applies to.
    metric_names Sequence[str]
    Absent or empty means every metric in this namespace, in whichever direction this selector appears. Present means only these metric names.
    namespace String
    The CloudWatch namespace this selector applies to.
    metricNames List<String>
    Absent or empty means every metric in this namespace, in whichever direction this selector appears. Present means only these metric names.

    OTelEnrichmentStatus

    NameValue
    RunningRUNNING
    StoppedSTOPPED
    NameValue
    OTelEnrichmentStatusRunningRUNNING
    OTelEnrichmentStatusStoppedSTOPPED
    Value
    RUNNING
    STOPPED
    NameValue
    RunningRUNNING
    StoppedSTOPPED
    NameValue
    RunningRUNNING
    StoppedSTOPPED
    NameValue
    RUNNINGRUNNING
    STOPPEDSTOPPED
    Value
    RUNNING
    STOPPED

    Package Details

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

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial