We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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 dictionarydata "aws-native_cloudwatch_get_o_tel_enrichment" "name" {
# arguments
}The following arguments are supported:
- Account
Id 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.
- account_
id 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.
- account
Id 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.
- account
Id String - The AWS account ID. This is the primary identifier for this singleton resource.
getOTelEnrichment Result
The following output properties are available:
- Account
Id string - The AWS account ID. This is the primary identifier for this singleton resource.
- Exclude
Filters List<Pulumi.Aws Native. Cloud Watch. Outputs. OTel Enrichment Metric Selector> - Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
- Include
Filters List<Pulumi.Aws Native. Cloud Watch. Outputs. OTel Enrichment Metric Selector> - 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.
Aws Native. Cloud Watch. OTel Enrichment Status
- Account
Id string - The AWS account ID. This is the primary identifier for this singleton resource.
- Exclude
Filters []OTelEnrichment Metric Selector - Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
- Include
Filters []OTelEnrichment Metric Selector - 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
OTel
Enrichment Status
- 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"
- account
Id String - The AWS account ID. This is the primary identifier for this singleton resource.
- exclude
Filters List<OTelEnrichment Metric Selector> - Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
- include
Filters List<OTelEnrichment Metric Selector> - 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
OTel
Enrichment Status
- account
Id string - The AWS account ID. This is the primary identifier for this singleton resource.
- exclude
Filters OTelEnrichment Metric Selector[] - Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
- include
Filters OTelEnrichment Metric Selector[] - 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
OTel
Enrichment Status
- account_
id str - The AWS account ID. This is the primary identifier for this singleton resource.
- exclude_
filters Sequence[OTelEnrichment Metric Selector] - Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
- include_
filters Sequence[OTelEnrichment Metric Selector] - 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
OTel
Enrichment Status
- account
Id String - The AWS account ID. This is the primary identifier for this singleton resource.
- exclude
Filters List<Property Map> - Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
- include
Filters 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.
- 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.
- Metric
Names []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.
- 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.
- metric
Names 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.
- 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.
OTelEnrichmentStatus
| Name | Value |
|---|---|
| Running | RUNNING |
| Stopped | STOPPED |
| Name | Value |
|---|---|
| OTel | RUNNING |
| OTel | STOPPED |
| Value |
|---|
RUNNING |
STOPPED |
| Name | Value |
|---|---|
| Running | RUNNING |
| Stopped | STOPPED |
| Name | Value |
|---|---|
| Running | RUNNING |
| Stopped | STOPPED |
| Name | Value |
|---|---|
| RUNNING | RUNNING |
| STOPPED | STOPPED |
| Value |
|---|
RUNNING |
STOPPED |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi