Class: AWSCDK::IoT::CfnCommand::CommandPreprocessorProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t/cfn_command.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aws_json_substitution: nil) ⇒ CommandPreprocessorProperty

Returns a new instance of CommandPreprocessorProperty.

Parameters:



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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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