@Stability(value=Stable)
public static interface EmrCreateCluster.MetricDimensionProperty
extends software.amazon.jsii.JsiiSerializable
By default, Amazon EMR uses one dimension whose Key is JobFlowID and Value is a variable representing the cluster ID, which is ${emr.clusterId}. This enables the rule to bootstrap when the cluster ID becomes available
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.stepfunctions.tasks.*;
MetricDimensionProperty metricDimensionProperty = MetricDimensionProperty.builder()
.key("key")
.value("value")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
EmrCreateCluster.MetricDimensionProperty.Builder
A builder for
EmrCreateCluster.MetricDimensionProperty |
static class |
EmrCreateCluster.MetricDimensionProperty.Jsii$Proxy
An implementation for
EmrCreateCluster.MetricDimensionProperty |
| Modifier and Type | Method and Description |
|---|---|
static EmrCreateCluster.MetricDimensionProperty.Builder |
builder() |
String |
getKey()
The dimension name.
|
String |
getValue()
The dimension value.
|
@Stability(value=Stable) @NotNull String getKey()
@Stability(value=Stable) @NotNull String getValue()
@Stability(value=Stable) static EmrCreateCluster.MetricDimensionProperty.Builder builder()
Copyright © 2023. All rights reserved.