Class: AWSCDK::Greengrassv2::CfnDeployment::IoTJobAbortConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
greengrassv2/cfn_deployment.rb

Overview

Contains a list of criteria that define when and how to cancel a configuration deployment.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(criteria_list:) ⇒ IoTJobAbortConfigProperty

Returns a new instance of IoTJobAbortConfigProperty.

Parameters:



1007
1008
1009
1010
# File 'greengrassv2/cfn_deployment.rb', line 1007

def initialize(criteria_list:)
  @criteria_list = criteria_list
  Jsii::Type.check_type(@criteria_list, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZ3JlZW5ncmFzc3YyLkNmbkRlcGxveW1lbnQuSW9USm9iQWJvcnRDcml0ZXJpYVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "criteriaList")
end

Instance Attribute Details

#criteria_listAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Greengrassv2::CfnDeployment::IoTJobAbortCriteriaProperty> (readonly)

The list of criteria that define when and how to cancel the configuration deployment.



1016
1017
1018
# File 'greengrassv2/cfn_deployment.rb', line 1016

def criteria_list
  @criteria_list
end

Class Method Details

.jsii_propertiesObject



1018
1019
1020
1021
1022
# File 'greengrassv2/cfn_deployment.rb', line 1018

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

Instance Method Details

#to_jsiiObject



1024
1025
1026
1027
1028
1029
1030
# File 'greengrassv2/cfn_deployment.rb', line 1024

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