Interface AWSAPICallViaCloudTrail.CustomizedMetricSpecification
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AWSAPICallViaCloudTrail.CustomizedMetricSpecification.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.*;
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAWSAPICallViaCloudTrail.CustomizedMetricSpecificationstatic final classAn implementation forAWSAPICallViaCloudTrail.CustomizedMetricSpecification -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static AWSAPICallViaCloudTrail.CustomizedMetricSpecification.Builder builder()
-