@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:10.169Z") @Stability(value=Stable) public interface CfnCustomMetricProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
CfnCustomMetricProps cfnCustomMetricProps = CfnCustomMetricProps.builder()
.metricType("metricType")
// the properties below are optional
.displayName("displayName")
.metricName("metricName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCustomMetricProps.Builder
A builder for
CfnCustomMetricProps |
static class |
CfnCustomMetricProps.Jsii$Proxy
An implementation for
CfnCustomMetricProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnCustomMetricProps.Builder |
builder() |
default String |
getDisplayName()
Field that represents a friendly name in the console for the custom metric;
|
default String |
getMetricName()
The name of the custom metric.
|
String |
getMetricType()
The type of the custom metric.
|
default List<CfnTag> |
getTags()
Metadata that can be used to manage the custom metric.
|
@Stability(value=Stable) @NotNull String getMetricType()
Types include string-list , ip-address-list , number-list , and number .
@Stability(value=Stable) @Nullable default String getDisplayName()
it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.
@Stability(value=Stable) @Nullable default String getMetricName()
This will be used in the metric report submitted from the device/thing. It shouldn't begin with aws: . Cannot be updated once it's defined.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnCustomMetricProps.Builder builder()
CfnCustomMetricProps.Builder of CfnCustomMetricPropsCopyright © 2022. All rights reserved.