Class CfnApplicationProps
Properties for defining a CfnApplication
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EMRServerless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApplicationProps : Object, ICfnApplicationProps
Syntax (vb)
Public Class CfnApplicationProps
Inherits Object
Implements ICfnApplicationProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMRServerless;
ConfigurationObjectProperty configurationObjectProperty_;
var cfnApplicationProps = new CfnApplicationProps {
ReleaseLabel = "releaseLabel",
Type = "type",
// the properties below are optional
Architecture = "architecture",
AutoStartConfiguration = new AutoStartConfigurationProperty {
Enabled = false
},
AutoStopConfiguration = new AutoStopConfigurationProperty {
Enabled = false,
IdleTimeoutMinutes = 123
},
ImageConfiguration = new ImageConfigurationInputProperty {
ImageUri = "imageUri"
},
InitialCapacity = new [] { new InitialCapacityConfigKeyValuePairProperty {
Key = "key",
Value = new InitialCapacityConfigProperty {
WorkerConfiguration = new WorkerConfigurationProperty {
Cpu = "cpu",
Memory = "memory",
// the properties below are optional
Disk = "disk",
DiskType = "diskType"
},
WorkerCount = 123
}
} },
InteractiveConfiguration = new InteractiveConfigurationProperty {
LivyEndpointEnabled = false,
StudioEnabled = false
},
MaximumCapacity = new MaximumAllowedResourcesProperty {
Cpu = "cpu",
Memory = "memory",
// the properties below are optional
Disk = "disk"
},
MonitoringConfiguration = new MonitoringConfigurationProperty {
CloudWatchLoggingConfiguration = new CloudWatchLoggingConfigurationProperty {
Enabled = false,
EncryptionKeyArn = "encryptionKeyArn",
LogGroupName = "logGroupName",
LogStreamNamePrefix = "logStreamNamePrefix",
LogTypeMap = new [] { new LogTypeMapKeyValuePairProperty {
Key = "key",
Value = new [] { "value" }
} }
},
ManagedPersistenceMonitoringConfiguration = new ManagedPersistenceMonitoringConfigurationProperty {
Enabled = false,
EncryptionKeyArn = "encryptionKeyArn"
},
PrometheusMonitoringConfiguration = new PrometheusMonitoringConfigurationProperty {
RemoteWriteUrl = "remoteWriteUrl"
},
S3MonitoringConfiguration = new S3MonitoringConfigurationProperty {
EncryptionKeyArn = "encryptionKeyArn",
LogUri = "logUri"
}
},
Name = "name",
NetworkConfiguration = new NetworkConfigurationProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" }
},
RuntimeConfiguration = new [] { new ConfigurationObjectProperty {
Classification = "classification",
// the properties below are optional
Configurations = new [] { configurationObjectProperty_ },
Properties = new Dictionary<string, string> {
{ "propertiesKey", "properties" }
}
} },
SchedulerConfiguration = new SchedulerConfigurationProperty {
MaxConcurrentRuns = 123,
QueueTimeoutMinutes = 123
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
WorkerTypeSpecifications = new Dictionary<string, object> {
{ "workerTypeSpecificationsKey", new WorkerTypeSpecificationInputProperty {
ImageConfiguration = new ImageConfigurationInputProperty {
ImageUri = "imageUri"
}
} }
}
};
Synopsis
Constructors
Cfn |
Properties
Architecture | The CPU architecture of an application. |
Auto |
The configuration for an application to automatically start on job submission. |
Auto |
The configuration for an application to automatically stop after a certain amount of time being idle. |
Image |
The image configuration applied to all worker types. |
Initial |
The initial capacity of the application. |
Interactive |
The interactive configuration object that enables the interactive use cases for an application. |
Maximum |
The maximum capacity of the application. |
Monitoring |
A configuration specification to be used when provisioning an application. |
Name | The name of the application. |
Network |
The network configuration for customer VPC connectivity for the application. |
Release |
The EMR release associated with the application. |
Runtime |
The Configuration specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the GetApplication API operation. |
Scheduler |
The scheduler configuration for batch and streaming jobs running on this application. |
Tags | The tags assigned to the application. |
Type | The type of application, such as Spark or Hive. |
Worker |
The specification applied to each worker type. |
Constructors
CfnApplicationProps()
public CfnApplicationProps()
Properties
Architecture
The CPU architecture of an application.
public string Architecture { get; set; }
Property Value
System.
Remarks
AutoStartConfiguration
The configuration for an application to automatically start on job submission.
public object AutoStartConfiguration { get; set; }
Property Value
System.
Remarks
AutoStopConfiguration
The configuration for an application to automatically stop after a certain amount of time being idle.
public object AutoStopConfiguration { get; set; }
Property Value
System.
Remarks
ImageConfiguration
The image configuration applied to all worker types.
public object ImageConfiguration { get; set; }
Property Value
System.
Remarks
InitialCapacity
The initial capacity of the application.
public object InitialCapacity { get; set; }
Property Value
System.
Remarks
InteractiveConfiguration
The interactive configuration object that enables the interactive use cases for an application.
public object InteractiveConfiguration { get; set; }
Property Value
System.
Remarks
MaximumCapacity
The maximum capacity of the application.
public object MaximumCapacity { get; set; }
Property Value
System.
Remarks
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.
MonitoringConfiguration
A configuration specification to be used when provisioning an application.
public object MonitoringConfiguration { get; set; }
Property Value
System.
Remarks
A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
Name
The name of the application.
public string Name { get; set; }
Property Value
System.
Remarks
NetworkConfiguration
The network configuration for customer VPC connectivity for the application.
public object NetworkConfiguration { get; set; }
Property Value
System.
Remarks
ReleaseLabel
The EMR release associated with the application.
public string ReleaseLabel { get; set; }
Property Value
System.
Remarks
RuntimeConfiguration
The Configuration specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the GetApplication API operation.
public object RuntimeConfiguration { get; set; }
Property Value
System.
Remarks
SchedulerConfiguration
The scheduler configuration for batch and streaming jobs running on this application.
public object SchedulerConfiguration { get; set; }
Property Value
System.
Remarks
Supported with release labels emr-7.0.0 and above.
Tags
The tags assigned to the application.
public ICfnTag[] Tags { get; set; }
Property Value
ICfn
Remarks
Type
The type of application, such as Spark or Hive.
public string Type { get; set; }
Property Value
System.
Remarks
WorkerTypeSpecifications
The specification applied to each worker type.
public object WorkerTypeSpecifications { get; set; }
Property Value
System.