Show / Hide Table of Contents

Class CfnApplicationProps

Properties for defining a CfnApplication.

Inheritance
object
CfnApplicationProps
Implements
ICfnApplicationProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EMRServerless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApplicationProps : ICfnApplicationProps
Syntax (vb)
Public Class CfnApplicationProps Implements ICfnApplicationProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html

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 CfnApplication.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-architecture

AutoStartConfiguration

The configuration for an application to automatically start on job submission.

public object? AutoStartConfiguration { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-autostartconfiguration

AutoStopConfiguration

The configuration for an application to automatically stop after a certain amount of time being idle.

public object? AutoStopConfiguration { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-autostopconfiguration

IdentityCenterConfiguration

A configuration specification to be used when provisioning an application.

public object? IdentityCenterConfiguration { get; set; }
Property Value

object

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-identitycenterconfiguration

ImageConfiguration

The image configuration applied to all worker types.

public object? ImageConfiguration { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-imageconfiguration

InitialCapacity

The initial capacity of the application.

public object? InitialCapacity { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-initialcapacity

InteractiveConfiguration

The interactive configuration object that enables the interactive use cases for an application.

public object? InteractiveConfiguration { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-interactiveconfiguration

MaximumCapacity

The maximum capacity of the application.

public object? MaximumCapacity { get; set; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-maximumcapacity

MonitoringConfiguration

A configuration specification to be used when provisioning an application.

public object? MonitoringConfiguration { get; set; }
Property Value

object

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-monitoringconfiguration

Name

The name of the application.

public string? Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-name

NetworkConfiguration

The network configuration for customer VPC connectivity for the application.

public object? NetworkConfiguration { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-networkconfiguration

ReleaseLabel

The EMR release associated with the application.

public string ReleaseLabel { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-releaselabel

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-runtimeconfiguration

SchedulerConfiguration

The scheduler configuration for batch and streaming jobs running on this application.

public object? SchedulerConfiguration { get; set; }
Property Value

object

Remarks

Supported with release labels emr-7.0.0 and above.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-schedulerconfiguration

Tags

The tags assigned to the application.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-tags

Type

The type of application, such as Spark or Hive.

public string Type { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-type

WorkerTypeSpecifications

The specification applied to each worker type.

public object? WorkerTypeSpecifications { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrserverless-application.html#cfn-emrserverless-application-workertypespecifications

Implements

ICfnApplicationProps
Back to top Generated by DocFX