@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.246Z") @Stability(value=Stable) public interface CfnApplicationProps 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.*;
CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder()
.releaseLabel("releaseLabel")
.type("type")
// the properties below are optional
.autoStartConfiguration(AutoStartConfigurationProperty.builder()
.enabled(false)
.build())
.autoStopConfiguration(AutoStopConfigurationProperty.builder()
.enabled(false)
.idleTimeoutMinutes(123)
.build())
.initialCapacity(List.of(InitialCapacityConfigKeyValuePairProperty.builder()
.key("key")
.value(InitialCapacityConfigProperty.builder()
.workerConfiguration(WorkerConfigurationProperty.builder()
.cpu("cpu")
.memory("memory")
// the properties below are optional
.disk("disk")
.build())
.workerCount(123)
.build())
.build()))
.maximumCapacity(MaximumAllowedResourcesProperty.builder()
.cpu("cpu")
.memory("memory")
// the properties below are optional
.disk("disk")
.build())
.name("name")
.networkConfiguration(NetworkConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplicationProps.Builder
A builder for
CfnApplicationProps |
static class |
CfnApplicationProps.Jsii$Proxy
An implementation for
CfnApplicationProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplicationProps.Builder |
builder() |
default Object |
getAutoStartConfiguration()
The configuration for an application to automatically start on job submission.
|
default Object |
getAutoStopConfiguration()
The configuration for an application to automatically stop after a certain amount of time being idle.
|
default Object |
getInitialCapacity()
The initial capacity of the application.
|
default Object |
getMaximumCapacity()
The maximum capacity of the application.
|
default String |
getName()
The name of the application.
|
default Object |
getNetworkConfiguration()
The network configuration for customer VPC connectivity for the application.
|
String |
getReleaseLabel()
The EMR release version associated with the application.
|
default List<CfnTag> |
getTags()
The tags assigned to the application.
|
String |
getType()
The type of application, such as Spark or Hive.
|
@Stability(value=Stable) @NotNull String getReleaseLabel()
Minimum : 1
Maximum : 64
Pattern : ^[A-Za-z0-9._/-]+$
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default Object getAutoStartConfiguration()
@Stability(value=Stable) @Nullable default Object getAutoStopConfiguration()
@Stability(value=Stable) @Nullable default Object getInitialCapacity()
@Stability(value=Stable) @Nullable default Object getMaximumCapacity()
This is cumulative across all workers at any given point in time during the lifespan of the application is created. No new resources will be created once any one of the defined limits is hit.
@Stability(value=Stable) @Nullable default String getName()
Minimum : 1
Maximum : 64
Pattern : ^[A-Za-z0-9._\\/#-]+$
@Stability(value=Stable) @Nullable default Object getNetworkConfiguration()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnApplicationProps.Builder builder()
CfnApplicationProps.Builder of CfnApplicationPropsCopyright © 2022. All rights reserved.