published on Friday, Nov 6, 2026 by Pulumi
published on Friday, Nov 6, 2026 by Pulumi
Manages AWS CloudWatch OTel enrichment. This is a singleton resource that enables OTel enrichment at the account level.
NOTE: This resource requires the
aws.observabilityadmin.TelemetryEnrichmentresource to be configured first. Without telemetry enrichment enabled, OTel enrichment will not function properly even if the API accepts the configuration.
NOTE: Creating this Terraform resource starts AWS CloudWatch OTel enrichment and deleting this Terraform resource stops AWS CloudWatch OTel enrichment.
Filters are evaluated as follows. includeFilter is applied first, then the excludeFilter match set is subtracted from the result. Exclusion always wins, so a metric matched by both is not enriched. An inactive direction is permissive: with no includeFilter, every supported namespace is in scope, and with no excludeFilter, nothing is removed. Namespaces and metric names are matched exactly and case-sensitively, with no wildcards or prefixes, so AWS/EC2 matches only AWS/EC2. At most 100 selectors are allowed across includeFilter and excludeFilter combined. Two lists of 60 selectors each satisfy the per-list limit but are rejected together.
Example Usage
Enable OTel Enrichment
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.observabilityadmin.TelemetryEnrichment("example", {});
const exampleOtelEnrichment = new aws.cloudwatch.OtelEnrichment("example", {}, {
dependsOn: [example],
});
import pulumi
import pulumi_aws as aws
example = aws.observabilityadmin.TelemetryEnrichment("example")
example_otel_enrichment = aws.cloudwatch.OtelEnrichment("example", opts = pulumi.ResourceOptions(depends_on=[example]))
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/observabilityadmin"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := observabilityadmin.NewTelemetryEnrichment(ctx, "example", nil)
if err != nil {
return err
}
_, err = cloudwatch.NewOtelEnrichment(ctx, "example", nil, pulumi.DependsOn([]pulumi.Resource{
example,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Observabilityadmin.TelemetryEnrichment("example");
var exampleOtelEnrichment = new Aws.CloudWatch.OtelEnrichment("example", new()
{
}, new CustomResourceOptions
{
DependsOn =
{
example,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.observabilityadmin.TelemetryEnrichment;
import com.pulumi.aws.cloudwatch.OtelEnrichment;
import com.pulumi.aws.cloudwatch.OtelEnrichmentArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new TelemetryEnrichment("example");
var exampleOtelEnrichment = new OtelEnrichment("exampleOtelEnrichment", OtelEnrichmentArgs.Empty, CustomResourceOptions.builder()
.dependsOn(Arrays.asList(example))
.build());
}
}
resources:
example:
type: aws:observabilityadmin:TelemetryEnrichment
exampleOtelEnrichment:
type: aws:cloudwatch:OtelEnrichment
name: example
options:
dependsOn:
- ${example}
terraform {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_observabilityadmin_telemetry_enrichment" "example" {
lifecycle {
create_before_destroy = true
}
}
resource "aws_cloudwatch_otel_enrichment" "example" {
depends_on = [aws_observabilityadmin_telemetry_enrichment.example]
lifecycle {
create_before_destroy = true
}
}
Filter Enrichment by Namespace and Metric
By default every namespace that CloudWatch supports is enriched. Narrow that scope with includeFilter and excludeFilter. The configuration below enriches all of AWS/EC2 except two network metrics, plus exactly two AWS/RDS metrics, and nothing else.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.observabilityadmin.TelemetryEnrichment("example", {});
const exampleOtelEnrichment = new aws.cloudwatch.OtelEnrichment("example", {
excludeFilters: [{
namespace: "AWS/EC2",
metricNames: [
"NetworkPacketsIn",
"NetworkPacketsOut",
],
}],
includeFilters: [
{
namespace: "AWS/EC2",
},
{
namespace: "AWS/RDS",
metricNames: [
"CPUUtilization",
"DatabaseConnections",
],
},
],
}, {
dependsOn: [example],
});
import pulumi
import pulumi_aws as aws
example = aws.observabilityadmin.TelemetryEnrichment("example")
example_otel_enrichment = aws.cloudwatch.OtelEnrichment("example",
exclude_filters=[{
"namespace": "AWS/EC2",
"metric_names": [
"NetworkPacketsIn",
"NetworkPacketsOut",
],
}],
include_filters=[
{
"namespace": "AWS/EC2",
},
{
"namespace": "AWS/RDS",
"metric_names": [
"CPUUtilization",
"DatabaseConnections",
],
},
],
opts = pulumi.ResourceOptions(depends_on=[example]))
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/observabilityadmin"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := observabilityadmin.NewTelemetryEnrichment(ctx, "example", nil)
if err != nil {
return err
}
_, err = cloudwatch.NewOtelEnrichment(ctx, "example", &cloudwatch.OtelEnrichmentArgs{
ExcludeFilters: cloudwatch.OtelEnrichmentExcludeFilterArray{
&cloudwatch.OtelEnrichmentExcludeFilterArgs{
Namespace: pulumi.String("AWS/EC2"),
MetricNames: pulumi.StringArray{
pulumi.String("NetworkPacketsIn"),
pulumi.String("NetworkPacketsOut"),
},
},
},
IncludeFilters: cloudwatch.OtelEnrichmentIncludeFilterArray{
&cloudwatch.OtelEnrichmentIncludeFilterArgs{
Namespace: pulumi.String("AWS/EC2"),
},
&cloudwatch.OtelEnrichmentIncludeFilterArgs{
Namespace: pulumi.String("AWS/RDS"),
MetricNames: pulumi.StringArray{
pulumi.String("CPUUtilization"),
pulumi.String("DatabaseConnections"),
},
},
},
}, pulumi.DependsOn([]pulumi.Resource{
example,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Observabilityadmin.TelemetryEnrichment("example");
var exampleOtelEnrichment = new Aws.CloudWatch.OtelEnrichment("example", new()
{
ExcludeFilters = new[]
{
new Aws.CloudWatch.Inputs.OtelEnrichmentExcludeFilterArgs
{
Namespace = "AWS/EC2",
MetricNames = new[]
{
"NetworkPacketsIn",
"NetworkPacketsOut",
},
},
},
IncludeFilters = new[]
{
new Aws.CloudWatch.Inputs.OtelEnrichmentIncludeFilterArgs
{
Namespace = "AWS/EC2",
},
new Aws.CloudWatch.Inputs.OtelEnrichmentIncludeFilterArgs
{
Namespace = "AWS/RDS",
MetricNames = new[]
{
"CPUUtilization",
"DatabaseConnections",
},
},
},
}, new CustomResourceOptions
{
DependsOn =
{
example,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.observabilityadmin.TelemetryEnrichment;
import com.pulumi.aws.cloudwatch.OtelEnrichment;
import com.pulumi.aws.cloudwatch.OtelEnrichmentArgs;
import com.pulumi.aws.cloudwatch.inputs.OtelEnrichmentExcludeFilterArgs;
import com.pulumi.aws.cloudwatch.inputs.OtelEnrichmentIncludeFilterArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new TelemetryEnrichment("example");
var exampleOtelEnrichment = new OtelEnrichment("exampleOtelEnrichment", OtelEnrichmentArgs.builder()
.excludeFilters(OtelEnrichmentExcludeFilterArgs.builder()
.namespace("AWS/EC2")
.metricNames(
"NetworkPacketsIn",
"NetworkPacketsOut")
.build())
.includeFilters(
OtelEnrichmentIncludeFilterArgs.builder()
.namespace("AWS/EC2")
.build(),
OtelEnrichmentIncludeFilterArgs.builder()
.namespace("AWS/RDS")
.metricNames(
"CPUUtilization",
"DatabaseConnections")
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(example)
.build());
}
}
resources:
example:
type: aws:observabilityadmin:TelemetryEnrichment
exampleOtelEnrichment:
type: aws:cloudwatch:OtelEnrichment
name: example
properties:
excludeFilters:
- namespace: AWS/EC2
metricNames:
- NetworkPacketsIn
- NetworkPacketsOut
includeFilters:
- namespace: AWS/EC2
- namespace: AWS/RDS
metricNames:
- CPUUtilization
- DatabaseConnections
options:
dependsOn:
- ${example}
terraform {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_observabilityadmin_telemetry_enrichment" "example" {
lifecycle {
create_before_destroy = true
}
}
resource "aws_cloudwatch_otel_enrichment" "example" {
depends_on = [aws_observabilityadmin_telemetry_enrichment.example]
lifecycle {
create_before_destroy = true
}
exclude_filter {
namespace = "AWS/EC2"
metric_names = ["NetworkPacketsIn", "NetworkPacketsOut"]
}
include_filter {
namespace = "AWS/EC2"
}
include_filter {
namespace = "AWS/RDS"
metric_names = ["CPUUtilization", "DatabaseConnections"]
}
}
Create OtelEnrichment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OtelEnrichment(name: string, args?: OtelEnrichmentArgs, opts?: CustomResourceOptions);@overload
def OtelEnrichment(resource_name: str,
args: Optional[OtelEnrichmentArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def OtelEnrichment(resource_name: str,
opts: Optional[ResourceOptions] = None,
exclude_filters: Optional[Sequence[OtelEnrichmentExcludeFilterArgs]] = None,
include_filters: Optional[Sequence[OtelEnrichmentIncludeFilterArgs]] = None,
region: Optional[str] = None,
timeouts: Optional[OtelEnrichmentTimeoutsArgs] = None)func NewOtelEnrichment(ctx *Context, name string, args *OtelEnrichmentArgs, opts ...ResourceOption) (*OtelEnrichment, error)public OtelEnrichment(string name, OtelEnrichmentArgs? args = null, CustomResourceOptions? opts = null)
public OtelEnrichment(String name, OtelEnrichmentArgs args)
public OtelEnrichment(String name, OtelEnrichmentArgs args, CustomResourceOptions options)
type: aws:cloudwatch:OtelEnrichment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_cloudwatch_otel_enrichment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args OtelEnrichmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OtelEnrichmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OtelEnrichmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OtelEnrichmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OtelEnrichmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var otelEnrichmentResource = new Aws.CloudWatch.OtelEnrichment("otelEnrichmentResource", new()
{
ExcludeFilters = new[]
{
new Aws.CloudWatch.Inputs.OtelEnrichmentExcludeFilterArgs
{
Namespace = "string",
MetricNames = new[]
{
"string",
},
},
},
IncludeFilters = new[]
{
new Aws.CloudWatch.Inputs.OtelEnrichmentIncludeFilterArgs
{
Namespace = "string",
MetricNames = new[]
{
"string",
},
},
},
Region = "string",
Timeouts = new Aws.CloudWatch.Inputs.OtelEnrichmentTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := cloudwatch.NewOtelEnrichment(ctx, "otelEnrichmentResource", &cloudwatch.OtelEnrichmentArgs{
ExcludeFilters: cloudwatch.OtelEnrichmentExcludeFilterArray{
&cloudwatch.OtelEnrichmentExcludeFilterArgs{
Namespace: pulumi.String("string"),
MetricNames: pulumi.StringArray{
pulumi.String("string"),
},
},
},
IncludeFilters: cloudwatch.OtelEnrichmentIncludeFilterArray{
&cloudwatch.OtelEnrichmentIncludeFilterArgs{
Namespace: pulumi.String("string"),
MetricNames: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Region: pulumi.String("string"),
Timeouts: &cloudwatch.OtelEnrichmentTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
resource "aws_cloudwatch_otel_enrichment" "otelEnrichmentResource" {
lifecycle {
create_before_destroy = true
}
exclude_filters {
namespace = "string"
metric_names = ["string"]
}
include_filters {
namespace = "string"
metric_names = ["string"]
}
region = "string"
_ {
timeouts = {
create = "string"
delete = "string"
}
}
}
var otelEnrichmentResource = new OtelEnrichment("otelEnrichmentResource", OtelEnrichmentArgs.builder()
.excludeFilters(OtelEnrichmentExcludeFilterArgs.builder()
.namespace("string")
.metricNames("string")
.build())
.includeFilters(OtelEnrichmentIncludeFilterArgs.builder()
.namespace("string")
.metricNames("string")
.build())
.region("string")
.timeouts(OtelEnrichmentTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
otel_enrichment_resource = aws.cloudwatch.OtelEnrichment("otelEnrichmentResource",
exclude_filters=[{
"namespace": "string",
"metric_names": ["string"],
}],
include_filters=[{
"namespace": "string",
"metric_names": ["string"],
}],
region="string",
timeouts={
"create": "string",
"delete": "string",
})
const otelEnrichmentResource = new aws.cloudwatch.OtelEnrichment("otelEnrichmentResource", {
excludeFilters: [{
namespace: "string",
metricNames: ["string"],
}],
includeFilters: [{
namespace: "string",
metricNames: ["string"],
}],
region: "string",
timeouts: {
create: "string",
"delete": "string",
},
});
type: aws:cloudwatch:OtelEnrichment
properties:
excludeFilters:
- metricNames:
- string
namespace: string
includeFilters:
- metricNames:
- string
namespace: string
region: string
timeouts:
create: string
delete: string
OtelEnrichment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OtelEnrichment resource accepts the following input properties:
- Exclude
Filters List<OtelEnrichment Exclude Filter> - Namespaces and metric names to leave unenriched. See below.
- Include
Filters List<OtelEnrichment Include Filter> - Namespaces and metric names to enrich. See below.
- Region string
- AWS region where this resource is managed.
- Timeouts
Otel
Enrichment Timeouts
- Exclude
Filters []OtelEnrichment Exclude Filter Args - Namespaces and metric names to leave unenriched. See below.
- Include
Filters []OtelEnrichment Include Filter Args - Namespaces and metric names to enrich. See below.
- Region string
- AWS region where this resource is managed.
- Timeouts
Otel
Enrichment Timeouts Args
- exclude_
filters list(object) - Namespaces and metric names to leave unenriched. See below.
- include_
filters list(object) - Namespaces and metric names to enrich. See below.
- region string
- AWS region where this resource is managed.
- timeouts object
- exclude
Filters List<OtelEnrichment Exclude Filter> - Namespaces and metric names to leave unenriched. See below.
- include
Filters List<OtelEnrichment Include Filter> - Namespaces and metric names to enrich. See below.
- region String
- AWS region where this resource is managed.
- timeouts
Otel
Enrichment Timeouts
- exclude
Filters OtelEnrichment Exclude Filter[] - Namespaces and metric names to leave unenriched. See below.
- include
Filters OtelEnrichment Include Filter[] - Namespaces and metric names to enrich. See below.
- region string
- AWS region where this resource is managed.
- timeouts
Otel
Enrichment Timeouts
- exclude_
filters Sequence[OtelEnrichment Exclude Filter Args] - Namespaces and metric names to leave unenriched. See below.
- include_
filters Sequence[OtelEnrichment Include Filter Args] - Namespaces and metric names to enrich. See below.
- region str
- AWS region where this resource is managed.
- timeouts
Otel
Enrichment Timeouts Args
- exclude
Filters List<Property Map> - Namespaces and metric names to leave unenriched. See below.
- include
Filters List<Property Map> - Namespaces and metric names to enrich. See below.
- region String
- AWS region where this resource is managed.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the OtelEnrichment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing OtelEnrichment Resource
Get an existing OtelEnrichment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OtelEnrichmentState, opts?: CustomResourceOptions): OtelEnrichment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
exclude_filters: Optional[Sequence[OtelEnrichmentExcludeFilterArgs]] = None,
include_filters: Optional[Sequence[OtelEnrichmentIncludeFilterArgs]] = None,
region: Optional[str] = None,
timeouts: Optional[OtelEnrichmentTimeoutsArgs] = None) -> OtelEnrichmentfunc GetOtelEnrichment(ctx *Context, name string, id IDInput, state *OtelEnrichmentState, opts ...ResourceOption) (*OtelEnrichment, error)public static OtelEnrichment Get(string name, Input<string> id, OtelEnrichmentState? state, CustomResourceOptions? opts = null)public static OtelEnrichment get(String name, Output<String> id, OtelEnrichmentState state, CustomResourceOptions options)resources: _: type: aws:cloudwatch:OtelEnrichment get: id: ${id}import {
to = aws_cloudwatch_otel_enrichment.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Exclude
Filters List<OtelEnrichment Exclude Filter> - Namespaces and metric names to leave unenriched. See below.
- Include
Filters List<OtelEnrichment Include Filter> - Namespaces and metric names to enrich. See below.
- Region string
- AWS region where this resource is managed.
- Timeouts
Otel
Enrichment Timeouts
- Exclude
Filters []OtelEnrichment Exclude Filter Args - Namespaces and metric names to leave unenriched. See below.
- Include
Filters []OtelEnrichment Include Filter Args - Namespaces and metric names to enrich. See below.
- Region string
- AWS region where this resource is managed.
- Timeouts
Otel
Enrichment Timeouts Args
- exclude_
filters list(object) - Namespaces and metric names to leave unenriched. See below.
- include_
filters list(object) - Namespaces and metric names to enrich. See below.
- region string
- AWS region where this resource is managed.
- timeouts object
- exclude
Filters List<OtelEnrichment Exclude Filter> - Namespaces and metric names to leave unenriched. See below.
- include
Filters List<OtelEnrichment Include Filter> - Namespaces and metric names to enrich. See below.
- region String
- AWS region where this resource is managed.
- timeouts
Otel
Enrichment Timeouts
- exclude
Filters OtelEnrichment Exclude Filter[] - Namespaces and metric names to leave unenriched. See below.
- include
Filters OtelEnrichment Include Filter[] - Namespaces and metric names to enrich. See below.
- region string
- AWS region where this resource is managed.
- timeouts
Otel
Enrichment Timeouts
- exclude_
filters Sequence[OtelEnrichment Exclude Filter Args] - Namespaces and metric names to leave unenriched. See below.
- include_
filters Sequence[OtelEnrichment Include Filter Args] - Namespaces and metric names to enrich. See below.
- region str
- AWS region where this resource is managed.
- timeouts
Otel
Enrichment Timeouts Args
- exclude
Filters List<Property Map> - Namespaces and metric names to leave unenriched. See below.
- include
Filters List<Property Map> - Namespaces and metric names to enrich. See below.
- region String
- AWS region where this resource is managed.
- timeouts Property Map
Supporting Types
OtelEnrichmentExcludeFilter, OtelEnrichmentExcludeFilterArgs
- Namespace string
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- Metric
Names List<string> - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- Namespace string
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- Metric
Names []string - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- namespace string
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- metric_
names list(string) - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- namespace String
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- metric
Names List<String> - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- namespace string
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- metric
Names string[] - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- namespace str
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- metric_
names Sequence[str] - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- namespace String
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- metric
Names List<String> - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
OtelEnrichmentIncludeFilter, OtelEnrichmentIncludeFilterArgs
- Namespace string
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- Metric
Names List<string> - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- Namespace string
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- Metric
Names []string - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- namespace string
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- metric_
names list(string) - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- namespace String
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- metric
Names List<String> - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- namespace string
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- metric
Names string[] - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- namespace str
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- metric_
names Sequence[str] - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
- namespace String
- Namespace of the metrics to select. Must be 1-255 characters and must not begin with a colon.
- metric
Names List<String> - Names of the metrics to select within the namespace, up to 100. Omit to match every metric in the namespace.
OtelEnrichmentTimeouts, OtelEnrichmentTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Import
Identity Schema
Required
No required attributes for singleton identity.
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import CloudWatch OTel Enrichment using the region. For example:
$ pulumi import aws:cloudwatch/otelEnrichment:OtelEnrichment example us-west-2
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Friday, Nov 6, 2026 by Pulumi