CfnApplicationProps

class aws_cdk.aws_emrserverless.CfnApplicationProps(*, release_label, type, architecture=None, auto_start_configuration=None, auto_stop_configuration=None, image_configuration=None, initial_capacity=None, interactive_configuration=None, maximum_capacity=None, monitoring_configuration=None, name=None, network_configuration=None, runtime_configuration=None, tags=None, worker_type_specifications=None)

Bases: object

Properties for defining a CfnApplication.

Parameters:
  • release_label (str) – The EMR release associated with the application.

  • type (str) – The type of application, such as Spark or Hive.

  • architecture (Optional[str]) – The CPU architecture of an application.

  • auto_start_configuration (Union[IResolvable, AutoStartConfigurationProperty, Dict[str, Any], None]) – The configuration for an application to automatically start on job submission.

  • auto_stop_configuration (Union[IResolvable, AutoStopConfigurationProperty, Dict[str, Any], None]) – The configuration for an application to automatically stop after a certain amount of time being idle.

  • image_configuration (Union[IResolvable, ImageConfigurationInputProperty, Dict[str, Any], None]) – The image configuration applied to all worker types.

  • initial_capacity (Union[IResolvable, Sequence[Union[IResolvable, InitialCapacityConfigKeyValuePairProperty, Dict[str, Any]]], None]) – The initial capacity of the application.

  • interactive_configuration (Union[IResolvable, InteractiveConfigurationProperty, Dict[str, Any], None]) – The interactive configuration object that enables the interactive use cases for an application.

  • maximum_capacity (Union[IResolvable, MaximumAllowedResourcesProperty, Dict[str, Any], None]) – The maximum capacity of the application. 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.

  • monitoring_configuration (Union[IResolvable, MonitoringConfigurationProperty, Dict[str, Any], None]) – A configuration specification to be used when provisioning an application. 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 (Optional[str]) – The name of the application.

  • network_configuration (Union[IResolvable, NetworkConfigurationProperty, Dict[str, Any], None]) – The network configuration for customer VPC connectivity for the application.

  • runtime_configuration (Union[IResolvable, Sequence[Union[IResolvable, ConfigurationObjectProperty, Dict[str, Any]]], None]) – 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.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags assigned to the application.

  • worker_type_specifications (Union[IResolvable, Mapping[str, Union[IResolvable, WorkerTypeSpecificationInputProperty, Dict[str, Any]]], None]) – The specification applied to each worker type.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_emrserverless as emrserverless

# configuration_object_property_: emrserverless.CfnApplication.ConfigurationObjectProperty

cfn_application_props = emrserverless.CfnApplicationProps(
    release_label="releaseLabel",
    type="type",

    # the properties below are optional
    architecture="architecture",
    auto_start_configuration=emrserverless.CfnApplication.AutoStartConfigurationProperty(
        enabled=False
    ),
    auto_stop_configuration=emrserverless.CfnApplication.AutoStopConfigurationProperty(
        enabled=False,
        idle_timeout_minutes=123
    ),
    image_configuration=emrserverless.CfnApplication.ImageConfigurationInputProperty(
        image_uri="imageUri"
    ),
    initial_capacity=[emrserverless.CfnApplication.InitialCapacityConfigKeyValuePairProperty(
        key="key",
        value=emrserverless.CfnApplication.InitialCapacityConfigProperty(
            worker_configuration=emrserverless.CfnApplication.WorkerConfigurationProperty(
                cpu="cpu",
                memory="memory",

                # the properties below are optional
                disk="disk",
                disk_type="diskType"
            ),
            worker_count=123
        )
    )],
    interactive_configuration=emrserverless.CfnApplication.InteractiveConfigurationProperty(
        livy_endpoint_enabled=False,
        studio_enabled=False
    ),
    maximum_capacity=emrserverless.CfnApplication.MaximumAllowedResourcesProperty(
        cpu="cpu",
        memory="memory",

        # the properties below are optional
        disk="disk"
    ),
    monitoring_configuration=emrserverless.CfnApplication.MonitoringConfigurationProperty(
        cloud_watch_logging_configuration=emrserverless.CfnApplication.CloudWatchLoggingConfigurationProperty(
            enabled=False,
            encryption_key_arn="encryptionKeyArn",
            log_group_name="logGroupName",
            log_stream_name_prefix="logStreamNamePrefix",
            log_type_map=[emrserverless.CfnApplication.LogTypeMapKeyValuePairProperty(
                key="key",
                value=["value"]
            )]
        ),
        managed_persistence_monitoring_configuration=emrserverless.CfnApplication.ManagedPersistenceMonitoringConfigurationProperty(
            enabled=False,
            encryption_key_arn="encryptionKeyArn"
        ),
        s3_monitoring_configuration=emrserverless.CfnApplication.S3MonitoringConfigurationProperty(
            encryption_key_arn="encryptionKeyArn",
            log_uri="logUri"
        )
    ),
    name="name",
    network_configuration=emrserverless.CfnApplication.NetworkConfigurationProperty(
        security_group_ids=["securityGroupIds"],
        subnet_ids=["subnetIds"]
    ),
    runtime_configuration=[emrserverless.CfnApplication.ConfigurationObjectProperty(
        classification="classification",

        # the properties below are optional
        configurations=[configuration_object_property_],
        properties={
            "properties_key": "properties"
        }
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    worker_type_specifications={
        "worker_type_specifications_key": emrserverless.CfnApplication.WorkerTypeSpecificationInputProperty(
            image_configuration=emrserverless.CfnApplication.ImageConfigurationInputProperty(
                image_uri="imageUri"
            )
        )
    }
)

Attributes

architecture

The CPU architecture of an application.

See:

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

auto_start_configuration

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

See:

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

auto_stop_configuration

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

See:

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

image_configuration

The image configuration applied to all worker types.

See:

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

initial_capacity

The initial capacity of the application.

See:

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

interactive_configuration

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

See:

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

maximum_capacity

The maximum capacity of the application.

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

monitoring_configuration

A configuration specification to be used when provisioning an application.

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.

See:

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

network_configuration

The network configuration for customer VPC connectivity for the application.

See:

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

release_label

The EMR release associated with the application.

See:

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

runtime_configuration

//docs.aws.amazon.com/emr-serverless/latest/APIReference/API_GetApplication.html>`_ API operation.

See:

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

Type:

The `Configuration <https

Type:

//docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html>`_ 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 <https

tags

The tags assigned to the application.

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.

See:

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

worker_type_specifications

The specification applied to each worker type.

See:

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