Class CfnApplicationProps
Properties for defining a CfnApplication
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EMRServerless
Assembly: Amazon.CDK.AWS.EMRServerless.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;
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"
},
WorkerCount = 123
}
} },
MaximumCapacity = new MaximumAllowedResourcesProperty {
Cpu = "cpu",
Memory = "memory",
// the properties below are optional
Disk = "disk"
},
Name = "name",
NetworkConfiguration = new NetworkConfigurationProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
WorkerTypeSpecifications = new Dictionary<string, object> {
{ "workerTypeSpecificationsKey", new WorkerTypeSpecificationInputProperty {
ImageConfiguration = new ImageConfigurationInputProperty {
ImageUri = "imageUri"
}
} }
}
};
Synopsis
Constructors
CfnApplicationProps() |
Properties
Architecture | The CPU architecture type of the application. |
AutoStartConfiguration | The configuration for an application to automatically start on job submission. |
AutoStopConfiguration | The configuration for an application to automatically stop after a certain amount of time being idle. |
ImageConfiguration |
|
InitialCapacity | The initial capacity of the application. |
MaximumCapacity | The maximum capacity of the application. |
Name | The name of the application. |
NetworkConfiguration | The network configuration for customer VPC connectivity for the application. |
ReleaseLabel | The EMR release version associated with the application. |
Tags | The tags assigned to the application. |
Type | The type of application, such as Spark or Hive. |
WorkerTypeSpecifications |
|
Constructors
CfnApplicationProps()
public CfnApplicationProps()
Properties
Architecture
The CPU architecture type of the application.
public string Architecture { get; set; }
Property Value
System.String
Remarks
Allowed values: X86_64
or ARM64
AutoStartConfiguration
The configuration for an application to automatically start on job submission.
public object AutoStartConfiguration { get; set; }
Property Value
System.Object
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.Object
Remarks
ImageConfiguration
AWS::EMRServerless::Application.ImageConfiguration
.
public object ImageConfiguration { get; set; }
Property Value
System.Object
Remarks
InitialCapacity
The initial capacity of the application.
public object InitialCapacity { get; set; }
Property Value
System.Object
Remarks
MaximumCapacity
The maximum capacity of the application.
public object MaximumCapacity { get; set; }
Property Value
System.Object
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.
Name
The name of the application.
public string Name { get; set; }
Property Value
System.String
Remarks
Minimum : 1
Maximum : 64
Pattern : ^[A-Za-z0-9._\/#-]+$
NetworkConfiguration
The network configuration for customer VPC connectivity for the application.
public object NetworkConfiguration { get; set; }
Property Value
System.Object
Remarks
ReleaseLabel
The EMR release version associated with the application.
public string ReleaseLabel { get; set; }
Property Value
System.String
Remarks
Minimum : 1
Maximum : 64
Pattern : ^[A-Za-z0-9._/-]+$
Tags
The tags assigned to the application.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
Type
The type of application, such as Spark or Hive.
public string Type { get; set; }
Property Value
System.String
Remarks
WorkerTypeSpecifications
AWS::EMRServerless::Application.WorkerTypeSpecifications
.
public object WorkerTypeSpecifications { get; set; }
Property Value
System.Object