Class: AWSCDK::Events::CfnRule::BatchArrayPropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Events::CfnRule::BatchArrayPropertiesProperty
- Defined in:
- events/cfn_rule.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.
752 753 754 755 |
# File 'events/cfn_rule.rb', line 752 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)
The size of the array, if this is an array batch job.
Valid values are integers between 2 and 10,000.
763 764 765 |
# File 'events/cfn_rule.rb', line 763 def size @size end |
Class Method Details
.jsii_properties ⇒ Object
765 766 767 768 769 |
# File 'events/cfn_rule.rb', line 765 def self.jsii_properties { :size => "size", } end |
Instance Method Details
#to_jsii ⇒ Object
771 772 773 774 775 776 777 |
# File 'events/cfn_rule.rb', line 771 def to_jsii result = {} result.merge!({ "size" => @size, }) result.compact end |