Class: AWSCDK::EMRServerless::CfnApplication::AutoStartConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EMRServerless::CfnApplication::AutoStartConfigurationProperty
- Defined in:
- emr_serverless/cfn_application.rb
Overview
The configuration for an application to automatically start on job submission.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
Enables the application to automatically start on job submission.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ AutoStartConfigurationProperty
constructor
A new instance of AutoStartConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil) ⇒ AutoStartConfigurationProperty
Returns a new instance of AutoStartConfigurationProperty.
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
#enabled ⇒ Boolean, ... (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_properties ⇒ Object
782 783 784 785 786 |
# File 'emr_serverless/cfn_application.rb', line 782 def self.jsii_properties { :enabled => "enabled", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |