Class: AWSCDK::Pipes::CfnPipe::BatchJobDependencyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipes::CfnPipe::BatchJobDependencyProperty
- Defined in:
- pipes/cfn_pipe.rb
Overview
An object that represents an AWS Batch job dependency.
Instance Attribute Summary collapse
-
#job_id ⇒ String?
readonly
The job ID of the AWS Batch job that's associated with this dependency.
-
#type ⇒ String?
readonly
The type of the job dependency.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(job_id: nil, type: nil) ⇒ BatchJobDependencyProperty
constructor
A new instance of BatchJobDependencyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(job_id: nil, type: nil) ⇒ BatchJobDependencyProperty
Returns a new instance of BatchJobDependencyProperty.
932 933 934 935 936 937 |
# File 'pipes/cfn_pipe.rb', line 932 def initialize(job_id: nil, type: nil) @job_id = job_id Jsii::Type.check_type(@job_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "jobId") unless @job_id.nil? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#job_id ⇒ String? (readonly)
The job ID of the AWS Batch job that's associated with this dependency.
943 944 945 |
# File 'pipes/cfn_pipe.rb', line 943 def job_id @job_id end |
#type ⇒ String? (readonly)
The type of the job dependency.
948 949 950 |
# File 'pipes/cfn_pipe.rb', line 948 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
950 951 952 953 954 955 |
# File 'pipes/cfn_pipe.rb', line 950 def self.jsii_properties { :job_id => "jobId", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
957 958 959 960 961 962 963 964 |
# File 'pipes/cfn_pipe.rb', line 957 def to_jsii result = {} result.merge!({ "jobId" => @job_id, "type" => @type, }) result.compact end |