Class: Aws::EMRServerless::Types::CreateApplicationRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-emrserverless/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#architectureString

The CPU architecture of an application.

Returns:

  • (String)


492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#auto_start_configurationTypes::AutoStartConfig

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



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#auto_stop_configurationTypes::AutoStopConfig

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



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

The client idempotency token of the application to create. Its value must be unique for each request.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#image_configurationTypes::ImageConfigurationInput

The image configuration for all worker types. You can either set this parameter or ‘imageConfiguration` for each worker type in `workerTypeSpecifications`.



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#initial_capacityHash<String,Types::InitialCapacityConfig>

The capacity to initialize when the application is created.

Returns:



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#interactive_configurationTypes::InteractiveConfiguration

The interactive configuration object that enables the interactive use cases to use when running an application.



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#maximum_capacityTypes::MaximumAllowedResources

The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#monitoring_configurationTypes::MonitoringConfiguration

The configuration setting for monitoring.



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the application.

Returns:

  • (String)


492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#network_configurationTypes::NetworkConfiguration

The network configuration for customer VPC connectivity.



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#release_labelString

The Amazon EMR release associated with the application.

Returns:

  • (String)


492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#runtime_configurationArray<Types::Configuration>

The [Configuration] specifications to use when creating an application. Each configuration consists of a classification and properties. This configuration is applied to all the job runs submitted under the application.

[1]: docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html

Returns:



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#scheduler_configurationTypes::SchedulerConfiguration

The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags assigned to the application.

Returns:

  • (Hash<String,String>)


492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of application you want to start, such as Spark or Hive.

Returns:

  • (String)


492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#worker_type_specificationsHash<String,Types::WorkerTypeSpecificationInput>

The key-value pairs that specify worker type to ‘WorkerTypeSpecificationInput`. This parameter must contain all valid worker types for a Spark or Hive application. Valid worker types include `Driver` and `Executor` for Spark applications and `HiveDriver` and `TezTask` for Hive applications. You can either set image details in this parameter for each worker type, or in `imageConfiguration` for all worker types.

Returns:



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'lib/aws-sdk-emrserverless/types.rb', line 492

class CreateApplicationRequest < Struct.new(
  :name,
  :release_label,
  :type,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :tags,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :runtime_configuration,
  :monitoring_configuration,
  :interactive_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end