Class CfnApplicationProps
Properties for defining a CfnApplication
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EMRServerless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApplicationProps : ICfnApplicationProps
Syntax (vb)
Public Class CfnApplicationProps 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
},
IdentityCenterConfiguration = new IdentityCenterConfigurationProperty {
IdentityCenterInstanceArn = "identityCenterInstanceArn"
},
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
CfnApplicationProps() | Properties for defining a |
Properties
Architecture | The CPU architecture of an 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. |
IdentityCenterConfiguration | A configuration specification to be used when provisioning an application. |
ImageConfiguration | The image configuration applied to all worker types. |
InitialCapacity | The initial capacity of the application. |
InteractiveConfiguration | The interactive configuration object that enables the interactive use cases for an application. |
MaximumCapacity | The maximum capacity of the application. |
MonitoringConfiguration | A configuration specification to be used when provisioning an application. |
Name | The name of the application. |
NetworkConfiguration | The network configuration for customer VPC connectivity for the application. |
ReleaseLabel | The EMR release associated with the application. |
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. |
SchedulerConfiguration | 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. |
WorkerTypeSpecifications | The specification applied to each worker type. |
Constructors
CfnApplicationProps()
Properties for defining a CfnApplication
.
public CfnApplicationProps()
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
},
IdentityCenterConfiguration = new IdentityCenterConfigurationProperty {
IdentityCenterInstanceArn = "identityCenterInstanceArn"
},
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"
}
} }
}
};
Properties
Architecture
The CPU architecture of an application.
public string? Architecture { get; set; }
Property Value
Remarks
AutoStartConfiguration
The configuration for an application to automatically start on job submission.
public object? AutoStartConfiguration { get; set; }
Property Value
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
Remarks
IdentityCenterConfiguration
A configuration specification to be used when provisioning an application.
public object? IdentityCenterConfiguration { get; set; }
Property Value
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.
ImageConfiguration
The image configuration applied to all worker types.
public object? ImageConfiguration { get; set; }
Property Value
Remarks
InitialCapacity
The initial capacity of the application.
public object? InitialCapacity { get; set; }
Property Value
Remarks
InteractiveConfiguration
The interactive configuration object that enables the interactive use cases for an application.
public object? InteractiveConfiguration { get; set; }
Property Value
Remarks
MaximumCapacity
The maximum capacity of the application.
public object? MaximumCapacity { get; set; }
Property Value
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
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
Remarks
NetworkConfiguration
The network configuration for customer VPC connectivity for the application.
public object? NetworkConfiguration { get; set; }
Property Value
Remarks
ReleaseLabel
The EMR release associated with the application.
public string ReleaseLabel { get; set; }
Property Value
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
Remarks
SchedulerConfiguration
The scheduler configuration for batch and streaming jobs running on this application.
public object? SchedulerConfiguration { get; set; }
Property Value
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
ICfnTag[]
Remarks
Type
The type of application, such as Spark or Hive.
public string Type { get; set; }
Property Value
Remarks
WorkerTypeSpecifications
The specification applied to each worker type.
public object? WorkerTypeSpecifications { get; set; }