Class CfnTelemetryEnrichment

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.observabilityadmin.CfnTelemetryEnrichment
All Implemented Interfaces:
IInspectable, IEnvironmentAware, ITelemetryEnrichmentRef, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-27T13:12:03.698Z") @Stability(Stable) public class CfnTelemetryEnrichment extends CfnResource implements IInspectable, ITelemetryEnrichmentRef
AWS::ObservabilityAdmin::TelemetryEnrichment cloudformation resource enables the resource tags for telemetry feature in CloudWatch to enrich infrastructure metrics with AWS resource tags.

For more details: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/resource-tags-for-telemetry.html

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.observabilityadmin.*;
 CfnTelemetryEnrichment cfnTelemetryEnrichment = CfnTelemetryEnrichment.Builder.create(this, "MyCfnTelemetryEnrichment")
         .scope("scope")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnTelemetryEnrichment

      protected CfnTelemetryEnrichment(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnTelemetryEnrichment

      protected CfnTelemetryEnrichment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnTelemetryEnrichment

      @Stability(Stable) public CfnTelemetryEnrichment(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnTelemetryEnrichmentProps props)
      Create a new AWS::ObservabilityAdmin::TelemetryEnrichment.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnTelemetryEnrichment

      @Stability(Stable) public CfnTelemetryEnrichment(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::ObservabilityAdmin::TelemetryEnrichment.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • isCfnTelemetryEnrichment

      @Stability(Stable) @NotNull public static Boolean isCfnTelemetryEnrichment(@NotNull Object x)
      Checks whether the given object is a CfnTelemetryEnrichment.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      Current status of the resource tags for telemetry feature (Running, Stopped, or Impaired).
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTelemetryEnrichmentRef

      @Stability(Stable) @NotNull public TelemetryEnrichmentReference getTelemetryEnrichmentRef()
      A reference to a TelemetryEnrichment resource.
      Specified by:
      getTelemetryEnrichmentRef in interface ITelemetryEnrichmentRef
    • getScope

      @Stability(Stable) @Nullable public String getScope()
      Scope of the Telemetry Enrichment.
    • setScope

      @Stability(Stable) public void setScope(@Nullable String value)
      Scope of the Telemetry Enrichment.