Class GroupMetrics
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.GroupMetrics
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.369Z")
@Stability(Stable)
public class GroupMetrics
extends software.amazon.jsii.JsiiObject
A set of group metrics.
Example:
Vpc vpc; InstanceType instanceType; IMachineImage machineImage; // Enable monitoring of all group metrics // Enable monitoring of all group metrics AutoScalingGroup.Builder.create(this, "ASG") .vpc(vpc) .instanceType(instanceType) .machineImage(machineImage) // ... .groupMetrics(List.of(GroupMetrics.all())) .build(); // Enable monitoring for a subset of group metrics // Enable monitoring for a subset of group metrics AutoScalingGroup.Builder.create(this, "ASG") .vpc(vpc) .instanceType(instanceType) .machineImage(machineImage) // ... .groupMetrics(List.of(new GroupMetrics(GroupMetric.MIN_SIZE, GroupMetric.MAX_SIZE))) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionGroupMetrics
(@NotNull GroupMetric... metrics) protected
GroupMetrics
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
GroupMetrics
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
GroupMetrics
protected GroupMetrics(software.amazon.jsii.JsiiObjectRef objRef) -
GroupMetrics
protected GroupMetrics(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
GroupMetrics
- Parameters:
metrics
- This parameter is required.
-
-
Method Details
-
all
Report all group metrics.
-