Class: AWSCDK::Apptest::CfnTestCase::BatchProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Apptest::CfnTestCase::BatchProperty
- Defined in:
- apptest/cfn_test_case.rb
Overview
Defines a batch.
Instance Attribute Summary collapse
-
#batch_job_name ⇒ String
readonly
The job name of the batch.
-
#batch_job_parameters ⇒ AWSCDK::IResolvable, ...
readonly
The batch job parameters of the batch.
-
#export_data_set_names ⇒ Array<String>?
readonly
The export data set names of the batch.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(batch_job_name:, batch_job_parameters: nil, export_data_set_names: nil) ⇒ BatchProperty
constructor
A new instance of BatchProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(batch_job_name:, batch_job_parameters: nil, export_data_set_names: nil) ⇒ BatchProperty
Returns a new instance of BatchProperty.
631 632 633 634 635 636 637 638 |
# File 'apptest/cfn_test_case.rb', line 631 def initialize(batch_job_name:, batch_job_parameters: nil, export_data_set_names: nil) @batch_job_name = batch_job_name Jsii::Type.check_type(@batch_job_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "batchJobName") @batch_job_parameters = batch_job_parameters Jsii::Type.check_type(@batch_job_parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "batchJobParameters") unless @batch_job_parameters.nil? @export_data_set_names = export_data_set_names Jsii::Type.check_type(@export_data_set_names, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "exportDataSetNames") unless @export_data_set_names.nil? end |
Instance Attribute Details
#batch_job_name ⇒ String (readonly)
The job name of the batch.
644 645 646 |
# File 'apptest/cfn_test_case.rb', line 644 def batch_job_name @batch_job_name end |
#batch_job_parameters ⇒ AWSCDK::IResolvable, ... (readonly)
The batch job parameters of the batch.
649 650 651 |
# File 'apptest/cfn_test_case.rb', line 649 def batch_job_parameters @batch_job_parameters end |
#export_data_set_names ⇒ Array<String>? (readonly)
The export data set names of the batch.
654 655 656 |
# File 'apptest/cfn_test_case.rb', line 654 def export_data_set_names @export_data_set_names end |
Class Method Details
.jsii_properties ⇒ Object
656 657 658 659 660 661 662 |
# File 'apptest/cfn_test_case.rb', line 656 def self.jsii_properties { :batch_job_name => "batchJobName", :batch_job_parameters => "batchJobParameters", :export_data_set_names => "exportDataSetNames", } end |
Instance Method Details
#to_jsii ⇒ Object
664 665 666 667 668 669 670 671 672 |
# File 'apptest/cfn_test_case.rb', line 664 def to_jsii result = {} result.merge!({ "batchJobName" => @batch_job_name, "batchJobParameters" => @batch_job_parameters, "exportDataSetNames" => @export_data_set_names, }) result.compact end |