Interface CfnFleetMetricMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleetMetricMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-14T18:32:13.449Z")
@Stability(Stable)
public interface CfnFleetMetricMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnFleetMetricPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.iot.*;
CfnFleetMetricMixinProps cfnFleetMetricMixinProps = CfnFleetMetricMixinProps.builder()
.aggregationField("aggregationField")
.aggregationType(AggregationTypeProperty.builder()
.name("name")
.values(List.of("values"))
.build())
.description("description")
.indexName("indexName")
.metricName("metricName")
.period(123)
.queryString("queryString")
.queryVersion("queryVersion")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.unit("unit")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFleetMetricMixinPropsstatic final classAn implementation forCfnFleetMetricMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe field to aggregate.default ObjectThe type of the aggregation query.default StringThe fleet metric description.default StringThe name of the index to search.default StringThe name of the fleet metric to create.default NumberThe time in seconds between fleet metric emissions.default StringThe search query string.default StringThe query version.getTags()Metadata which can be used to manage the fleet metric.default StringgetUnit()Used to support unit transformation such as milliseconds to seconds.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAggregationField
The field to aggregate.- See Also:
-
getAggregationType
The type of the aggregation query.Returns union: either
IResolvableorCfnFleetMetricPropsMixin.AggregationTypeProperty- See Also:
-
getDescription
The fleet metric description.- See Also:
-
getIndexName
The name of the index to search.- See Also:
-
getMetricName
The name of the fleet metric to create.- See Also:
-
getPeriod
The time in seconds between fleet metric emissions.Range [60(1 min), 86400(1 day)] and must be multiple of 60.
- See Also:
-
getQueryString
The search query string.- See Also:
-
getQueryVersion
The query version.- See Also:
-
getTags
Metadata which can be used to manage the fleet metric.- See Also:
-
getUnit
Used to support unit transformation such as milliseconds to seconds.Must be a unit supported by CW metric. Default to null.
- See Also:
-
builder
- Returns:
- a
CfnFleetMetricMixinProps.BuilderofCfnFleetMetricMixinProps
-