@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.963Z") @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()
`AWS::IoT::CustomMetric.DisplayName`.
|
default String |
getMetricName()
`AWS::IoT::CustomMetric.MetricName`.
|
String |
getMetricType()
`AWS::IoT::CustomMetric.MetricType`.
|
default List<CfnTag> |
getTags()
`AWS::IoT::CustomMetric.Tags`.
|
@Stability(value=Stable) @Nullable default String getDisplayName()
@Stability(value=Stable) @Nullable default String getMetricName()
@Stability(value=Stable) @NotNull String getMetricType()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnCustomMetricProps.Builder builder()
CfnCustomMetricProps.Builder of CfnCustomMetricPropsCopyright © 2021. All rights reserved.