@Stability(value=Stable)
public static interface CfnApplication.InitialCapacityConfigProperty
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.emrserverless.*;
InitialCapacityConfigProperty initialCapacityConfigProperty = InitialCapacityConfigProperty.builder()
.workerConfiguration(WorkerConfigurationProperty.builder()
.cpu("cpu")
.memory("memory")
// the properties below are optional
.disk("disk")
.build())
.workerCount(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplication.InitialCapacityConfigProperty.Builder
A builder for
CfnApplication.InitialCapacityConfigProperty |
static class |
CfnApplication.InitialCapacityConfigProperty.Jsii$Proxy
An implementation for
CfnApplication.InitialCapacityConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplication.InitialCapacityConfigProperty.Builder |
builder() |
Object |
getWorkerConfiguration()
The resource configuration of the initial capacity configuration.
|
Number |
getWorkerCount()
The number of workers in the initial capacity configuration.
|
@Stability(value=Stable) @NotNull Object getWorkerConfiguration()
@Stability(value=Stable) @NotNull Number getWorkerCount()
Minimum : 1
Maximum : 1000000
@Stability(value=Stable) static CfnApplication.InitialCapacityConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.