Class: AWSCDK::Batch::CfnJobDefinition::VolumesHostProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_path: nil) ⇒ VolumesHostProperty

Returns a new instance of VolumesHostProperty.

Parameters:

  • source_path (String, nil) (defaults to: nil)


3988
3989
3990
3991
# File 'batch/cfn_job_definition.rb', line 3988

def initialize(source_path: nil)
  @source_path = source_path
  Jsii::Type.check_type(@source_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourcePath") unless @source_path.nil?
end

Instance Attribute Details

#source_pathString? (readonly)



3995
3996
3997
# File 'batch/cfn_job_definition.rb', line 3995

def source_path
  @source_path
end

Class Method Details

.jsii_propertiesObject



3997
3998
3999
4000
4001
# File 'batch/cfn_job_definition.rb', line 3997

def self.jsii_properties
  {
    :source_path => "sourcePath",
  }
end

Instance Method Details

#to_jsiiObject



4003
4004
4005
4006
4007
4008
4009
# File 'batch/cfn_job_definition.rb', line 4003

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