Class: AWSCDK::EMRServerless::CfnApplication::AutoStartConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
emr_serverless/cfn_application.rb

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled: nil) ⇒ AutoStartConfigurationProperty

Returns a new instance of AutoStartConfigurationProperty.

Parameters:

  • enabled (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Enables the application to automatically start on job submission.



770
771
772
773
# File 'emr_serverless/cfn_application.rb', line 770

def initialize(enabled: nil)
  @enabled = enabled
  Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil?
end

Instance Attribute Details

#enabledBoolean, ... (readonly)

Note:

Default: - true

Enables the application to automatically start on job submission.



780
781
782
# File 'emr_serverless/cfn_application.rb', line 780

def enabled
  @enabled
end

Class Method Details

.jsii_propertiesObject



782
783
784
785
786
# File 'emr_serverless/cfn_application.rb', line 782

def self.jsii_properties
  {
    :enabled => "enabled",
  }
end

Instance Method Details

#to_jsiiObject



788
789
790
791
792
793
794
# File 'emr_serverless/cfn_application.rb', line 788

def to_jsii
  result = {}
  result.merge!({
    "enabled" => @enabled,
  })
  result.compact
end