Interface AWSAPICallViaCloudTrail.TargetTrackingConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AWSAPICallViaCloudTrail.TargetTrackingConfiguration.Jsii$Proxy
- Enclosing class:
AWSAPICallViaCloudTrail
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAWSAPICallViaCloudTrail.TargetTrackingConfigurationstatic final classAn implementation forAWSAPICallViaCloudTrail.TargetTrackingConfiguration -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) customizedMetricSpecification property.(experimental) predefinedMetricSpecification property.(experimental) targetValue property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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.Matchfor 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static AWSAPICallViaCloudTrail.TargetTrackingConfiguration.Builder builder()
-