Class: AWSCDK::Batch::CfnJobDefinition::HostPathProperty

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(path: nil) ⇒ HostPathProperty

Returns a new instance of HostPathProperty.

Parameters:

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


2197
2198
2199
2200
# File 'batch/cfn_job_definition.rb', line 2197

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

Instance Attribute Details

#pathString? (readonly)



2204
2205
2206
# File 'batch/cfn_job_definition.rb', line 2204

def path
  @path
end

Class Method Details

.jsii_propertiesObject



2206
2207
2208
2209
2210
# File 'batch/cfn_job_definition.rb', line 2206

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

Instance Method Details

#to_jsiiObject



2212
2213
2214
2215
2216
2217
2218
# File 'batch/cfn_job_definition.rb', line 2212

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