CfnApplicationPropsMixin
- class aws_cdk.mixins_preview.aws_emrserverless.mixins.CfnApplicationPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::EMRServerless::Applicationresource specifies an EMR Serverless application.An application uses open source analytics frameworks to run jobs that process data. To create an application, you must specify the release version for the open source framework version you want to use and the type of application you want, such as Apache Spark or Apache Hive. After you create an application, you can submit data processing jobs or interactive requests to it.
- See:
- CloudformationResource:
AWS::EMRServerless::Application
- Mixin:
true
- 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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins # configuration_object_property_: emrserverless_mixins.CfnApplicationPropsMixin.ConfigurationObjectProperty cfn_application_props_mixin = emrserverless_mixins.CfnApplicationPropsMixin(emrserverless_mixins.CfnApplicationMixinProps( architecture="architecture", auto_start_configuration=emrserverless_mixins.CfnApplicationPropsMixin.AutoStartConfigurationProperty( enabled=False ), auto_stop_configuration=emrserverless_mixins.CfnApplicationPropsMixin.AutoStopConfigurationProperty( enabled=False, idle_timeout_minutes=123 ), identity_center_configuration=emrserverless_mixins.CfnApplicationPropsMixin.IdentityCenterConfigurationProperty( identity_center_instance_arn="identityCenterInstanceArn" ), image_configuration=emrserverless_mixins.CfnApplicationPropsMixin.ImageConfigurationInputProperty( image_uri="imageUri" ), initial_capacity=[emrserverless_mixins.CfnApplicationPropsMixin.InitialCapacityConfigKeyValuePairProperty( key="key", value=emrserverless_mixins.CfnApplicationPropsMixin.InitialCapacityConfigProperty( worker_configuration=emrserverless_mixins.CfnApplicationPropsMixin.WorkerConfigurationProperty( cpu="cpu", disk="disk", disk_type="diskType", memory="memory" ), worker_count=123 ) )], interactive_configuration=emrserverless_mixins.CfnApplicationPropsMixin.InteractiveConfigurationProperty( livy_endpoint_enabled=False, studio_enabled=False ), maximum_capacity=emrserverless_mixins.CfnApplicationPropsMixin.MaximumAllowedResourcesProperty( cpu="cpu", disk="disk", memory="memory" ), monitoring_configuration=emrserverless_mixins.CfnApplicationPropsMixin.MonitoringConfigurationProperty( cloud_watch_logging_configuration=emrserverless_mixins.CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty( enabled=False, encryption_key_arn="encryptionKeyArn", log_group_name="logGroupName", log_stream_name_prefix="logStreamNamePrefix", log_type_map=[emrserverless_mixins.CfnApplicationPropsMixin.LogTypeMapKeyValuePairProperty( key="key", value=["value"] )] ), managed_persistence_monitoring_configuration=emrserverless_mixins.CfnApplicationPropsMixin.ManagedPersistenceMonitoringConfigurationProperty( enabled=False, encryption_key_arn="encryptionKeyArn" ), prometheus_monitoring_configuration=emrserverless_mixins.CfnApplicationPropsMixin.PrometheusMonitoringConfigurationProperty( remote_write_url="remoteWriteUrl" ), s3_monitoring_configuration=emrserverless_mixins.CfnApplicationPropsMixin.S3MonitoringConfigurationProperty( encryption_key_arn="encryptionKeyArn", log_uri="logUri" ) ), name="name", network_configuration=emrserverless_mixins.CfnApplicationPropsMixin.NetworkConfigurationProperty( security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"] ), release_label="releaseLabel", runtime_configuration=[emrserverless_mixins.CfnApplicationPropsMixin.ConfigurationObjectProperty( classification="classification", configurations=[configuration_object_property_], properties={ "properties_key": "properties" } )], scheduler_configuration=emrserverless_mixins.CfnApplicationPropsMixin.SchedulerConfigurationProperty( max_concurrent_runs=123, queue_timeout_minutes=123 ), tags=[CfnTag( key="key", value="value" )], type="type", worker_type_specifications={ "worker_type_specifications_key": emrserverless_mixins.CfnApplicationPropsMixin.WorkerTypeSpecificationInputProperty( image_configuration=emrserverless_mixins.CfnApplicationPropsMixin.ImageConfigurationInputProperty( image_uri="imageUri" ) ) } ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::EMRServerless::Application.- Parameters:
props (
Union[CfnApplicationMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['architecture', 'autoStartConfiguration', 'autoStopConfiguration', 'identityCenterConfiguration', 'imageConfiguration', 'initialCapacity', 'interactiveConfiguration', 'maximumCapacity', 'monitoringConfiguration', 'name', 'networkConfiguration', 'releaseLabel', 'runtimeConfiguration', 'schedulerConfiguration', 'tags', 'type', 'workerTypeSpecifications']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
AutoStartConfigurationProperty
- class CfnApplicationPropsMixin.AutoStartConfigurationProperty(*, enabled=None)
Bases:
objectThe configuration for an application to automatically start on job submission.
- Parameters:
enabled (
Union[bool,IResolvable,None]) – Enables the application to automatically start on job submission. Default: - true- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins auto_start_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.AutoStartConfigurationProperty( enabled=False )
Attributes
- enabled
Enables the application to automatically start on job submission.
AutoStopConfigurationProperty
- class CfnApplicationPropsMixin.AutoStopConfigurationProperty(*, enabled=None, idle_timeout_minutes=None)
Bases:
objectThe configuration for an application to automatically stop after a certain amount of time being idle.
- Parameters:
enabled (
Union[bool,IResolvable,None]) – Enables the application to automatically stop after a certain amount of time being idle. Defaults to true. Default: - trueidle_timeout_minutes (
Union[int,float,None]) – The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins auto_stop_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.AutoStopConfigurationProperty( enabled=False, idle_timeout_minutes=123 )
Attributes
- enabled
Enables the application to automatically stop after a certain amount of time being idle.
Defaults to true.
- idle_timeout_minutes
The amount of idle time in minutes after which your application will automatically stop.
Defaults to 15 minutes.
CloudWatchLoggingConfigurationProperty
- class CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty(*, enabled=None, encryption_key_arn=None, log_group_name=None, log_stream_name_prefix=None, log_type_map=None)
Bases:
objectThe Amazon CloudWatch configuration for monitoring logs.
You can configure your jobs to send log information to CloudWatch.
- Parameters:
enabled (
Union[bool,IResolvable,None]) – Enables CloudWatch logging. Default: - falseencryption_key_arn (
Optional[str]) – The AWS Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.log_group_name (
Optional[str]) – The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.log_stream_name_prefix (
Optional[str]) – Prefix for the CloudWatch log stream name.log_type_map (
Union[IResolvable,Sequence[Union[IResolvable,LogTypeMapKeyValuePairProperty,Dict[str,Any]]],None]) – The specific log-streams which need to be uploaded to CloudWatch.
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins cloud_watch_logging_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty( enabled=False, encryption_key_arn="encryptionKeyArn", log_group_name="logGroupName", log_stream_name_prefix="logStreamNamePrefix", log_type_map=[emrserverless_mixins.CfnApplicationPropsMixin.LogTypeMapKeyValuePairProperty( key="key", value=["value"] )] )
Attributes
- enabled
Enables CloudWatch logging.
- encryption_key_arn
The AWS Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.
- log_group_name
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.
- log_stream_name_prefix
Prefix for the CloudWatch log stream name.
- log_type_map
The specific log-streams which need to be uploaded to CloudWatch.
ConfigurationObjectProperty
- class CfnApplicationPropsMixin.ConfigurationObjectProperty(*, classification=None, configurations=None, properties=None)
Bases:
objectA 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.
- Parameters:
classification (
Optional[str]) – The classification within a configuration.configurations (
Union[IResolvable,Sequence[Union[IResolvable,ConfigurationObjectProperty,Dict[str,Any]]],None]) – A list of additional configurations to apply within a configuration object.properties (
Union[Mapping[str,str],IResolvable,None]) – A set of properties specified within a configuration classification.
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins # configuration_object_property_: emrserverless_mixins.CfnApplicationPropsMixin.ConfigurationObjectProperty configuration_object_property = emrserverless_mixins.CfnApplicationPropsMixin.ConfigurationObjectProperty( classification="classification", configurations=[configuration_object_property_], properties={ "properties_key": "properties" } )
Attributes
- classification
The classification within a configuration.
- configurations
A list of additional configurations to apply within a configuration object.
- properties
A set of properties specified within a configuration classification.
IdentityCenterConfigurationProperty
- class CfnApplicationPropsMixin.IdentityCenterConfigurationProperty(*, identity_center_instance_arn=None)
Bases:
objectThe IAM Identity Center Configuration accepts the Identity Center instance parameter required to enable trusted identity propagation.
This configuration allows identity propagation between integrated services and the Identity Center instance.
- Parameters:
identity_center_instance_arn (
Optional[str]) – The ARN of the IAM Identity Center instance.- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins identity_center_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.IdentityCenterConfigurationProperty( identity_center_instance_arn="identityCenterInstanceArn" )
Attributes
- identity_center_instance_arn
The ARN of the IAM Identity Center instance.
ImageConfigurationInputProperty
- class CfnApplicationPropsMixin.ImageConfigurationInputProperty(*, image_uri=None)
Bases:
objectThe image configuration.
- Parameters:
image_uri (
Optional[str]) – The URI of an image in the Amazon ECR registry. This field is required when you create a new application. If you leave this field blank in an update, Amazon EMR will remove the image configuration.- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins image_configuration_input_property = emrserverless_mixins.CfnApplicationPropsMixin.ImageConfigurationInputProperty( image_uri="imageUri" )
Attributes
- image_uri
The URI of an image in the Amazon ECR registry.
This field is required when you create a new application. If you leave this field blank in an update, Amazon EMR will remove the image configuration.
InitialCapacityConfigKeyValuePairProperty
- class CfnApplicationPropsMixin.InitialCapacityConfigKeyValuePairProperty(*, key=None, value=None)
Bases:
object- Parameters:
key (
Optional[str]) – Worker type for an analytics framework.value (
Union[IResolvable,InitialCapacityConfigProperty,Dict[str,Any],None])
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins initial_capacity_config_key_value_pair_property = emrserverless_mixins.CfnApplicationPropsMixin.InitialCapacityConfigKeyValuePairProperty( key="key", value=emrserverless_mixins.CfnApplicationPropsMixin.InitialCapacityConfigProperty( worker_configuration=emrserverless_mixins.CfnApplicationPropsMixin.WorkerConfigurationProperty( cpu="cpu", disk="disk", disk_type="diskType", memory="memory" ), worker_count=123 ) )
Attributes
- key
Worker type for an analytics framework.
InitialCapacityConfigProperty
- class CfnApplicationPropsMixin.InitialCapacityConfigProperty(*, worker_configuration=None, worker_count=None)
Bases:
objectThe initial capacity configuration per worker.
- Parameters:
worker_configuration (
Union[IResolvable,WorkerConfigurationProperty,Dict[str,Any],None]) – The resource configuration of the initial capacity configuration.worker_count (
Union[int,float,None]) – The number of workers in the initial capacity configuration.
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins initial_capacity_config_property = emrserverless_mixins.CfnApplicationPropsMixin.InitialCapacityConfigProperty( worker_configuration=emrserverless_mixins.CfnApplicationPropsMixin.WorkerConfigurationProperty( cpu="cpu", disk="disk", disk_type="diskType", memory="memory" ), worker_count=123 )
Attributes
- worker_configuration
The resource configuration of the initial capacity configuration.
- worker_count
The number of workers in the initial capacity configuration.
InteractiveConfigurationProperty
- class CfnApplicationPropsMixin.InteractiveConfigurationProperty(*, livy_endpoint_enabled=None, studio_enabled=None)
Bases:
objectThe configuration to use to enable the different types of interactive use cases in an application.
- Parameters:
livy_endpoint_enabled (
Union[bool,IResolvable,None]) – Enables an Apache Livy endpoint that you can connect to and run interactive jobs. Default: - falsestudio_enabled (
Union[bool,IResolvable,None]) – Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook. Default: - false
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins interactive_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.InteractiveConfigurationProperty( livy_endpoint_enabled=False, studio_enabled=False )
Attributes
- livy_endpoint_enabled
Enables an Apache Livy endpoint that you can connect to and run interactive jobs.
- studio_enabled
Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.
LogTypeMapKeyValuePairProperty
- class CfnApplicationPropsMixin.LogTypeMapKeyValuePairProperty(*, key=None, value=None)
Bases:
object- Parameters:
key (
Optional[str])value (
Optional[Sequence[str]]) – List of Applicable values: [STDOUT, STDERR, HIVE_LOG, TEZ_AM, SYSTEM_LOGS].
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins log_type_map_key_value_pair_property = emrserverless_mixins.CfnApplicationPropsMixin.LogTypeMapKeyValuePairProperty( key="key", value=["value"] )
Attributes
- key
-
- Type:
see
- value
[STDOUT, STDERR, HIVE_LOG, TEZ_AM, SYSTEM_LOGS].
ManagedPersistenceMonitoringConfigurationProperty
- class CfnApplicationPropsMixin.ManagedPersistenceMonitoringConfigurationProperty(*, enabled=None, encryption_key_arn=None)
Bases:
objectThe managed log persistence configuration for a job run.
- Parameters:
enabled (
Union[bool,IResolvable,None]) – Enables managed logging and defaults to true. If set to false, managed logging will be turned off. Default: - trueencryption_key_arn (
Optional[str]) – The KMS key ARN to encrypt the logs stored in managed log persistence.
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins managed_persistence_monitoring_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.ManagedPersistenceMonitoringConfigurationProperty( enabled=False, encryption_key_arn="encryptionKeyArn" )
Attributes
- enabled
Enables managed logging and defaults to true.
If set to false, managed logging will be turned off.
- encryption_key_arn
The KMS key ARN to encrypt the logs stored in managed log persistence.
MaximumAllowedResourcesProperty
- class CfnApplicationPropsMixin.MaximumAllowedResourcesProperty(*, cpu=None, disk=None, memory=None)
Bases:
objectThe maximum allowed cumulative resources for an application.
No new resources will be created once the limit is hit.
- Parameters:
cpu (
Optional[str]) – The maximum allowed CPU for an application.disk (
Optional[str]) – The maximum allowed disk for an application.memory (
Optional[str]) – The maximum allowed resources for an application.
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins maximum_allowed_resources_property = emrserverless_mixins.CfnApplicationPropsMixin.MaximumAllowedResourcesProperty( cpu="cpu", disk="disk", memory="memory" )
Attributes
- cpu
The maximum allowed CPU for an application.
- disk
The maximum allowed disk for an application.
- memory
The maximum allowed resources for an application.
MonitoringConfigurationProperty
- class CfnApplicationPropsMixin.MonitoringConfigurationProperty(*, cloud_watch_logging_configuration=None, managed_persistence_monitoring_configuration=None, prometheus_monitoring_configuration=None, s3_monitoring_configuration=None)
Bases:
objectThe configuration setting for monitoring logs.
- Parameters:
cloud_watch_logging_configuration (
Union[IResolvable,CloudWatchLoggingConfigurationProperty,Dict[str,Any],None]) – The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.managed_persistence_monitoring_configuration (
Union[IResolvable,ManagedPersistenceMonitoringConfigurationProperty,Dict[str,Any],None]) – The managed log persistence configuration for a job run.prometheus_monitoring_configuration (
Union[IResolvable,PrometheusMonitoringConfigurationProperty,Dict[str,Any],None]) – The monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.s3_monitoring_configuration (
Union[IResolvable,S3MonitoringConfigurationProperty,Dict[str,Any],None]) – The Amazon S3 configuration for monitoring log publishing.
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins monitoring_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.MonitoringConfigurationProperty( cloud_watch_logging_configuration=emrserverless_mixins.CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty( enabled=False, encryption_key_arn="encryptionKeyArn", log_group_name="logGroupName", log_stream_name_prefix="logStreamNamePrefix", log_type_map=[emrserverless_mixins.CfnApplicationPropsMixin.LogTypeMapKeyValuePairProperty( key="key", value=["value"] )] ), managed_persistence_monitoring_configuration=emrserverless_mixins.CfnApplicationPropsMixin.ManagedPersistenceMonitoringConfigurationProperty( enabled=False, encryption_key_arn="encryptionKeyArn" ), prometheus_monitoring_configuration=emrserverless_mixins.CfnApplicationPropsMixin.PrometheusMonitoringConfigurationProperty( remote_write_url="remoteWriteUrl" ), s3_monitoring_configuration=emrserverless_mixins.CfnApplicationPropsMixin.S3MonitoringConfigurationProperty( encryption_key_arn="encryptionKeyArn", log_uri="logUri" ) )
Attributes
- cloud_watch_logging_configuration
The Amazon CloudWatch configuration for monitoring logs.
You can configure your jobs to send log information to CloudWatch.
- managed_persistence_monitoring_configuration
The managed log persistence configuration for a job run.
- prometheus_monitoring_configuration
The monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.
- s3_monitoring_configuration
The Amazon S3 configuration for monitoring log publishing.
NetworkConfigurationProperty
- class CfnApplicationPropsMixin.NetworkConfigurationProperty(*, security_group_ids=None, subnet_ids=None)
Bases:
objectThe network configuration for customer VPC connectivity.
- Parameters:
security_group_ids (
Optional[Sequence[str]]) – The array of security group Ids for customer VPC connectivity.subnet_ids (
Optional[Sequence[str]]) – The array of subnet Ids for customer VPC connectivity.
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins network_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.NetworkConfigurationProperty( security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"] )
Attributes
- security_group_ids
The array of security group Ids for customer VPC connectivity.
- subnet_ids
The array of subnet Ids for customer VPC connectivity.
PrometheusMonitoringConfigurationProperty
- class CfnApplicationPropsMixin.PrometheusMonitoringConfigurationProperty(*, remote_write_url=None)
Bases:
objectThe monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.
- Parameters:
remote_write_url (
Optional[str]) – The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins prometheus_monitoring_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.PrometheusMonitoringConfigurationProperty( remote_write_url="remoteWriteUrl" )
Attributes
- remote_write_url
The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
S3MonitoringConfigurationProperty
- class CfnApplicationPropsMixin.S3MonitoringConfigurationProperty(*, encryption_key_arn=None, log_uri=None)
Bases:
objectThe Amazon S3 configuration for monitoring log publishing.
You can configure your jobs to send log information to Amazon S3.
- Parameters:
encryption_key_arn (
Optional[str]) – The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.log_uri (
Optional[str]) – The Amazon S3 destination URI for log publishing.
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins s3_monitoring_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.S3MonitoringConfigurationProperty( encryption_key_arn="encryptionKeyArn", log_uri="logUri" )
Attributes
- encryption_key_arn
The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.
- log_uri
The Amazon S3 destination URI for log publishing.
SchedulerConfigurationProperty
- class CfnApplicationPropsMixin.SchedulerConfigurationProperty(*, max_concurrent_runs=None, queue_timeout_minutes=None)
Bases:
objectThe scheduler configuration for batch and streaming jobs running on this application.
Supported with release labels emr-7.0.0 and above.
- Parameters:
max_concurrent_runs (
Union[int,float,None]) – The maximum concurrent job runs on this application. If scheduler configuration is enabled on your application, the default value is 15. The valid range is 1 to 1000.queue_timeout_minutes (
Union[int,float,None]) – The maximum duration in minutes for the job in QUEUED state. If scheduler configuration is enabled on your application, the default value is 360 minutes (6 hours). The valid range is from 15 to 720.
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins scheduler_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.SchedulerConfigurationProperty( max_concurrent_runs=123, queue_timeout_minutes=123 )
Attributes
- max_concurrent_runs
The maximum concurrent job runs on this application.
If scheduler configuration is enabled on your application, the default value is 15. The valid range is 1 to 1000.
- queue_timeout_minutes
The maximum duration in minutes for the job in QUEUED state.
If scheduler configuration is enabled on your application, the default value is 360 minutes (6 hours). The valid range is from 15 to 720.
WorkerConfigurationProperty
- class CfnApplicationPropsMixin.WorkerConfigurationProperty(*, cpu=None, disk=None, disk_type=None, memory=None)
Bases:
objectThe configuration of a worker.
For more information, see Supported worker configurations .
- Parameters:
cpu (
Optional[str]) – The CPU requirements of the worker configuration. Each worker can have 1, 2, 4, 8, or 16 vCPUs.disk (
Optional[str]) – The disk requirements of the worker configuration.disk_type (
Optional[str]) – The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance characteristics and are better for shuffle heavy workloads. Default isSTANDARD.memory (
Optional[str]) – The memory requirements of the worker configuration.
- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins worker_configuration_property = emrserverless_mixins.CfnApplicationPropsMixin.WorkerConfigurationProperty( cpu="cpu", disk="disk", disk_type="diskType", memory="memory" )
Attributes
- cpu
The CPU requirements of the worker configuration.
Each worker can have 1, 2, 4, 8, or 16 vCPUs.
- disk
The disk requirements of the worker configuration.
- disk_type
The disk type for every worker instance of the work type.
Shuffle optimized disks have higher performance characteristics and are better for shuffle heavy workloads. Default is
STANDARD.
- memory
The memory requirements of the worker configuration.
WorkerTypeSpecificationInputProperty
- class CfnApplicationPropsMixin.WorkerTypeSpecificationInputProperty(*, image_configuration=None)
Bases:
objectThe specifications for a worker type.
- Parameters:
image_configuration (
Union[IResolvable,ImageConfigurationInputProperty,Dict[str,Any],None]) – The image configuration for a worker type.- See:
- 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.mixins_preview.aws_emrserverless import mixins as emrserverless_mixins worker_type_specification_input_property = emrserverless_mixins.CfnApplicationPropsMixin.WorkerTypeSpecificationInputProperty( image_configuration=emrserverless_mixins.CfnApplicationPropsMixin.ImageConfigurationInputProperty( image_uri="imageUri" ) )
Attributes
- image_configuration
The image configuration for a worker type.