Class: AWSCDK::Batch::CfnJobDefinition::VolumesHostProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Batch::CfnJobDefinition::VolumesHostProperty
- Defined in:
- batch/cfn_job_definition.rb
Overview
Instance Attribute Summary collapse
- #source_path ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_path: nil) ⇒ VolumesHostProperty
constructor
A new instance of VolumesHostProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_path: nil) ⇒ VolumesHostProperty
Returns a new instance of VolumesHostProperty.
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_path ⇒ String? (readonly)
3995 3996 3997 |
# File 'batch/cfn_job_definition.rb', line 3995 def source_path @source_path end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |