Class: AWSCDK::Pipes::CfnPipe::BatchArrayPropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipes::CfnPipe::BatchArrayPropertiesProperty
- Defined in:
- pipes/cfn_pipe.rb
Overview
The array properties for the submitted job, such as the size of the array.
The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.
Instance Attribute Summary collapse
-
#size ⇒ Numeric?
readonly
The size of the array, if this is an array batch job.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(size: nil) ⇒ BatchArrayPropertiesProperty
constructor
A new instance of BatchArrayPropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(size: nil) ⇒ BatchArrayPropertiesProperty
Returns a new instance of BatchArrayPropertiesProperty.
775 776 777 778 |
# File 'pipes/cfn_pipe.rb', line 775 def initialize(size: nil) @size = size Jsii::Type.check_type(@size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "size") unless @size.nil? end |
Instance Attribute Details
#size ⇒ Numeric? (readonly)
Note:
Default: - 0
The size of the array, if this is an array batch job.
785 786 787 |
# File 'pipes/cfn_pipe.rb', line 785 def size @size end |
Class Method Details
.jsii_properties ⇒ Object
787 788 789 790 791 |
# File 'pipes/cfn_pipe.rb', line 787 def self.jsii_properties { :size => "size", } end |
Instance Method Details
#to_jsii ⇒ Object
793 794 795 796 797 798 799 |
# File 'pipes/cfn_pipe.rb', line 793 def to_jsii result = {} result.merge!({ "size" => @size, }) result.compact end |