Interface CfnApplication.InitialCapacityConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplication.InitialCapacityConfigProperty.Jsii$Proxy
- Enclosing class:
CfnApplication
@Stability(Stable)
public static interface CfnApplication.InitialCapacityConfigProperty
extends software.amazon.jsii.JsiiSerializable
The initial capacity configuration per worker.
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")
.diskType("diskType")
.build())
.workerCount(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplication.InitialCapacityConfigPropertystatic final classAn implementation forCfnApplication.InitialCapacityConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The resource configuration of the initial capacity configuration.The number of workers in the initial capacity configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getWorkerConfiguration
The resource configuration of the initial capacity configuration.Returns union: either
IResolvableorCfnApplication.WorkerConfigurationProperty- See Also:
-
getWorkerCount
The number of workers in the initial capacity configuration.- See Also:
-
builder
-