Class: AWSCDK::Batch::CfnJobDefinition::HostPathProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Batch::CfnJobDefinition::HostPathProperty
- Defined in:
- batch/cfn_job_definition.rb
Overview
Instance Attribute Summary collapse
- #path ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path: nil) ⇒ HostPathProperty
constructor
A new instance of HostPathProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(path: nil) ⇒ HostPathProperty
Returns a new instance of HostPathProperty.
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
#path ⇒ String? (readonly)
2204 2205 2206 |
# File 'batch/cfn_job_definition.rb', line 2204 def path @path end |
Class Method Details
.jsii_properties ⇒ Object
2206 2207 2208 2209 2210 |
# File 'batch/cfn_job_definition.rb', line 2206 def self.jsii_properties { :path => "path", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |