Interface AWSAPICallViaCloudTrail.CustomizedMetricSpecification

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

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

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.*;
 CustomizedMetricSpecification 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();
 
  • Method Details

    • getDimensions

      @Stability(Experimental) @Nullable default List<AWSAPICallViaCloudTrail.CustomizedMetricSpecificationItem> getDimensions()
      (experimental) dimensions property.

      Specify an array of string values to match this event if the actual value of dimensions 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

    • getMetricName

      @Stability(Experimental) @Nullable default List<String> getMetricName()
      (experimental) metricName property.

      Specify an array of string values to match this event if the actual value of metricName 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

    • getNamespace

      @Stability(Experimental) @Nullable default List<String> getNamespace()
      (experimental) namespace property.

      Specify an array of string values to match this event if the actual value of namespace 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

    • getStatistic

      @Stability(Experimental) @Nullable default List<String> getStatistic()
      (experimental) statistic property.

      Specify an array of string values to match this event if the actual value of statistic 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

    • getUnit

      @Stability(Experimental) @Nullable default List<String> getUnit()
      (experimental) unit property.

      Specify an array of string values to match this event if the actual value of unit 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.CustomizedMetricSpecification.Builder builder()
      Returns:
      a AWSAPICallViaCloudTrail.CustomizedMetricSpecification.Builder of AWSAPICallViaCloudTrail.CustomizedMetricSpecification