CfnOTelEnrichmentMixinProps
- class aws_cdk.cfn_property_mixins.aws_cloudwatch.CfnOTelEnrichmentMixinProps(*, exclude_filters=None, include_filters=None)
Bases:
objectProperties for CfnOTelEnrichmentPropsMixin.
- Parameters:
exclude_filters (
Union[IResolvable,Sequence[Union[IResolvable,OTelEnrichmentMetricSelectorProperty,Dict[str,Any]]],None]) – Removes metrics from the include set. Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.include_filters (
Union[IResolvable,Sequence[Union[IResolvable,OTelEnrichmentMetricSelectorProperty,Dict[str,Any]]],None]) – 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.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_cloudwatch as cloudwatch cfn_o_tel_enrichment_mixin_props = cloudwatch.CfnOTelEnrichmentMixinProps( exclude_filters=[cloudwatch.CfnOTelEnrichmentPropsMixin.OTelEnrichmentMetricSelectorProperty( metric_names=["metricNames"], namespace="namespace" )], include_filters=[cloudwatch.CfnOTelEnrichmentPropsMixin.OTelEnrichmentMetricSelectorProperty( metric_names=["metricNames"], namespace="namespace" )] )
Attributes
- exclude_filters
Removes metrics from the include set.
Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
- include_filters
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.