Class: AWSCDK::Greengrassv2::CfnDeployment::IoTJobTimeoutConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Greengrassv2::CfnDeployment::IoTJobTimeoutConfigProperty
- Defined in:
- greengrassv2/cfn_deployment.rb
Overview
Contains information about the timeout configuration for a job.
Instance Attribute Summary collapse
-
#in_progress_timeout_in_minutes ⇒ Numeric?
readonly
The amount of time, in minutes, that devices have to complete the job.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(in_progress_timeout_in_minutes: nil) ⇒ IoTJobTimeoutConfigProperty
constructor
A new instance of IoTJobTimeoutConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(in_progress_timeout_in_minutes: nil) ⇒ IoTJobTimeoutConfigProperty
Returns a new instance of IoTJobTimeoutConfigProperty.
1212 1213 1214 1215 |
# File 'greengrassv2/cfn_deployment.rb', line 1212 def initialize(in_progress_timeout_in_minutes: nil) @in_progress_timeout_in_minutes = in_progress_timeout_in_minutes Jsii::Type.check_type(@in_progress_timeout_in_minutes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "inProgressTimeoutInMinutes") unless @in_progress_timeout_in_minutes.nil? end |
Instance Attribute Details
#in_progress_timeout_in_minutes ⇒ Numeric? (readonly)
The amount of time, in minutes, that devices have to complete the job.
The timer starts when the job status is set to IN_PROGRESS . If the job status doesn't change to a terminal state before the time expires, then the job status is set to TIMED_OUT .
The timeout interval must be between 1 minute and 7 days (10080 minutes).
1225 1226 1227 |
# File 'greengrassv2/cfn_deployment.rb', line 1225 def in_progress_timeout_in_minutes @in_progress_timeout_in_minutes end |
Class Method Details
.jsii_properties ⇒ Object
1227 1228 1229 1230 1231 |
# File 'greengrassv2/cfn_deployment.rb', line 1227 def self.jsii_properties { :in_progress_timeout_in_minutes => "inProgressTimeoutInMinutes", } end |
Instance Method Details
#to_jsii ⇒ Object
1233 1234 1235 1236 1237 1238 1239 |
# File 'greengrassv2/cfn_deployment.rb', line 1233 def to_jsii result = {} result.merge!({ "inProgressTimeoutInMinutes" => @in_progress_timeout_in_minutes, }) result.compact end |