Class: AWSCDK::IoT::CfnCommand::CommandParameterValueConditionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnCommand::CommandParameterValueConditionProperty
- Defined in:
- io_t/cfn_command.rb
Overview
Instance Attribute Summary collapse
- #comparison_operator ⇒ String readonly
- #operand ⇒ AWSCDK::IResolvable, AWSCDK::IoT::CfnCommand::CommandParameterValueComparisonOperandProperty readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(comparison_operator:, operand:) ⇒ CommandParameterValueConditionProperty
constructor
A new instance of CommandParameterValueConditionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(comparison_operator:, operand:) ⇒ CommandParameterValueConditionProperty
Returns a new instance of CommandParameterValueConditionProperty.
866 867 868 869 870 871 |
# File 'io_t/cfn_command.rb', line 866 def initialize(comparison_operator:, operand:) @comparison_operator = comparison_operator Jsii::Type.check_type(@comparison_operator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "comparisonOperator") @operand = operand.is_a?(Hash) ? ::AWSCDK::IoT::CfnCommand::CommandParameterValueComparisonOperandProperty.new(**operand.transform_keys(&:to_sym)) : operand Jsii::Type.check_type(@operand, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3QuQ2ZuQ29tbWFuZC5Db21tYW5kUGFyYW1ldGVyVmFsdWVDb21wYXJpc29uT3BlcmFuZFByb3BlcnR5In1dfX0=")), "operand") end |
Instance Attribute Details
#comparison_operator ⇒ String (readonly)
875 876 877 |
# File 'io_t/cfn_command.rb', line 875 def comparison_operator @comparison_operator end |
#operand ⇒ AWSCDK::IResolvable, AWSCDK::IoT::CfnCommand::CommandParameterValueComparisonOperandProperty (readonly)
878 879 880 |
# File 'io_t/cfn_command.rb', line 878 def operand @operand end |
Class Method Details
.jsii_properties ⇒ Object
880 881 882 883 884 885 |
# File 'io_t/cfn_command.rb', line 880 def self.jsii_properties { :comparison_operator => "comparisonOperator", :operand => "operand", } end |
Instance Method Details
#to_jsii ⇒ Object
887 888 889 890 891 892 893 894 |
# File 'io_t/cfn_command.rb', line 887 def to_jsii result = {} result.merge!({ "comparisonOperator" => @comparison_operator, "operand" => @operand, }) result.compact end |