Interface AWSAPICallViaCloudTrail.TargetTrackingConfiguration

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AWSAPICallViaCloudTrail.TargetTrackingConfiguration.Jsii$Proxy
Enclosing class:
AWSAPICallViaCloudTrail

@Stability(Experimental) public static interface AWSAPICallViaCloudTrail.TargetTrackingConfiguration extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for TargetTrackingConfiguration.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.mixins.preview.services.autoscaling.events.*;
 TargetTrackingConfiguration targetTrackingConfiguration = TargetTrackingConfiguration.builder()
         .customizedMetricSpecification(CustomizedMetricSpecification.builder()
                 .dimensions(List.of(CustomizedMetricSpecificationItem.builder()
                         .name(List.of("name"))
                         .value(List.of("value"))
                         .build()))
                 .metricName(List.of("metricName"))
                 .namespace(List.of("namespace"))
                 .statistic(List.of("statistic"))
                 .unit(List.of("unit"))
                 .build())
         .predefinedMetricSpecification(PredefinedMetricSpecification.builder()
                 .predefinedMetricType(List.of("predefinedMetricType"))
                 .build())
         .targetValue(List.of("targetValue"))
         .build();
 
  • Method Details

    • getCustomizedMetricSpecification

      @Stability(Experimental) @Nullable default AWSAPICallViaCloudTrail.CustomizedMetricSpecification getCustomizedMetricSpecification()
      (experimental) customizedMetricSpecification property.

      Specify an array of string values to match this event if the actual value of customizedMetricSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getPredefinedMetricSpecification

      @Stability(Experimental) @Nullable default AWSAPICallViaCloudTrail.PredefinedMetricSpecification getPredefinedMetricSpecification()
      (experimental) predefinedMetricSpecification property.

      Specify an array of string values to match this event if the actual value of predefinedMetricSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getTargetValue

      @Stability(Experimental) @Nullable default List<String> getTargetValue()
      (experimental) targetValue property.

      Specify an array of string values to match this event if the actual value of targetValue is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      @Stability(Experimental) static AWSAPICallViaCloudTrail.TargetTrackingConfiguration.Builder builder()
      Returns:
      a AWSAPICallViaCloudTrail.TargetTrackingConfiguration.Builder of AWSAPICallViaCloudTrail.TargetTrackingConfiguration