Class: AWSCDK::IoT::CfnCommand::CommandPreprocessorProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnCommand::CommandPreprocessorProperty
- Defined in:
- io_t/cfn_command.rb
Overview
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aws_json_substitution: nil) ⇒ CommandPreprocessorProperty
constructor
A new instance of CommandPreprocessorProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aws_json_substitution: nil) ⇒ CommandPreprocessorProperty
Returns a new instance of CommandPreprocessorProperty.
1053 1054 1055 1056 |
# File 'io_t/cfn_command.rb', line 1053 def initialize(aws_json_substitution: nil) @aws_json_substitution = aws_json_substitution.is_a?(Hash) ? ::AWSCDK::IoT::CfnCommand::AWSJsonSubstitutionCommandPreprocessorConfigProperty.new(**aws_json_substitution.transform_keys(&:to_sym)) : aws_json_substitution Jsii::Type.check_type(@aws_json_substitution, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3QuQ2ZuQ29tbWFuZC5Bd3NKc29uU3Vic3RpdHV0aW9uQ29tbWFuZFByZXByb2Nlc3NvckNvbmZpZ1Byb3BlcnR5In1dfX0=")), "awsJsonSubstitution") unless @aws_json_substitution.nil? end |
Instance Attribute Details
#aws_json_substitution ⇒ AWSCDK::IResolvable, ... (readonly)
1060 1061 1062 |
# File 'io_t/cfn_command.rb', line 1060 def aws_json_substitution @aws_json_substitution end |
Class Method Details
.jsii_properties ⇒ Object
1062 1063 1064 1065 1066 |
# File 'io_t/cfn_command.rb', line 1062 def self.jsii_properties { :aws_json_substitution => "awsJsonSubstitution", } end |
Instance Method Details
#to_jsii ⇒ Object
1068 1069 1070 1071 1072 1073 1074 |
# File 'io_t/cfn_command.rb', line 1068 def to_jsii result = {} result.merge!({ "awsJsonSubstitution" => @aws_json_substitution, }) result.compact end |