Class: AWSCDK::Batch::CfnJobDefinition::ConsumableResourcePropertiesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
batch/cfn_job_definition.rb

Overview

Contains a list of consumable resources required by a job.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(consumable_resource_list:) ⇒ ConsumableResourcePropertiesProperty

Returns a new instance of ConsumableResourcePropertiesProperty.

Parameters:



745
746
747
748
# File 'batch/cfn_job_definition.rb', line 745

def initialize(consumable_resource_list:)
  @consumable_resource_list = consumable_resource_list
  Jsii::Type.check_type(@consumable_resource_list, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmF0Y2guQ2ZuSm9iRGVmaW5pdGlvbi5Db25zdW1hYmxlUmVzb3VyY2VSZXF1aXJlbWVudFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "consumableResourceList")
end

Instance Attribute Details

Class Method Details

.jsii_propertiesObject



756
757
758
759
760
# File 'batch/cfn_job_definition.rb', line 756

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

Instance Method Details

#to_jsiiObject



762
763
764
765
766
767
768
# File 'batch/cfn_job_definition.rb', line 762

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