@Stability(value=Stable)
public static interface CfnApplication.MaximumAllowedResourcesProperty
extends software.amazon.jsii.JsiiSerializable
No new resources will be created once the limit is hit.
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.*;
MaximumAllowedResourcesProperty maximumAllowedResourcesProperty = MaximumAllowedResourcesProperty.builder()
.cpu("cpu")
.memory("memory")
// the properties below are optional
.disk("disk")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplication.MaximumAllowedResourcesProperty.Builder
A builder for
CfnApplication.MaximumAllowedResourcesProperty |
static class |
CfnApplication.MaximumAllowedResourcesProperty.Jsii$Proxy
An implementation for
CfnApplication.MaximumAllowedResourcesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplication.MaximumAllowedResourcesProperty.Builder |
builder() |
String |
getCpu()
The maximum allowed CPU for an application.
|
default String |
getDisk()
The maximum allowed disk for an application.
|
String |
getMemory()
The maximum allowed resources for an application.
|
@Stability(value=Stable) @NotNull String getCpu()
Minimum : 1
Maximum : 15
Pattern : ^[1-9][0-9]*(\\s)?(vCPU|vcpu|VCPU)?$
@Stability(value=Stable) @NotNull String getMemory()
Minimum : 1
Maximum : 15
Pattern : ^[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)?$
@Stability(value=Stable) @Nullable default String getDisk()
Minimum : 1
Maximum : 15
Pattern : ^[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)$"
@Stability(value=Stable) static CfnApplication.MaximumAllowedResourcesProperty.Builder builder()
Copyright © 2022. All rights reserved.