Class: AWSCDK::IoT::CfnCommand::CommandParameterValueProperty

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(b: nil, bin: nil, d: nil, i: nil, l: nil, s: nil, ul: nil) ⇒ CommandParameterValueProperty

Returns a new instance of CommandParameterValueProperty.

Parameters:

  • b (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)
  • bin (String, nil) (defaults to: nil)
  • d (Numeric, nil) (defaults to: nil)
  • i (Numeric, nil) (defaults to: nil)
  • l (String, nil) (defaults to: nil)
  • s (String, nil) (defaults to: nil)
  • ul (String, nil) (defaults to: nil)


945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
# File 'io_t/cfn_command.rb', line 945

def initialize(b: nil, bin: nil, d: nil, i: nil, l: nil, s: nil, ul: nil)
  @b = b
  Jsii::Type.check_type(@b, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "b") unless @b.nil?
  @bin = bin
  Jsii::Type.check_type(@bin, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bin") unless @bin.nil?
  @d = d
  Jsii::Type.check_type(@d, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "d") unless @d.nil?
  @i = i
  Jsii::Type.check_type(@i, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "i") unless @i.nil?
  @l = l
  Jsii::Type.check_type(@l, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "l") unless @l.nil?
  @s = s
  Jsii::Type.check_type(@s, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s") unless @s.nil?
  @ul = ul
  Jsii::Type.check_type(@ul, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ul") unless @ul.nil?
end

Instance Attribute Details

#bBoolean, ... (readonly)



964
965
966
# File 'io_t/cfn_command.rb', line 964

def b
  @b
end

#binString? (readonly)



967
968
969
# File 'io_t/cfn_command.rb', line 967

def bin
  @bin
end

#dNumeric? (readonly)



970
971
972
# File 'io_t/cfn_command.rb', line 970

def d
  @d
end

#iNumeric? (readonly)



973
974
975
# File 'io_t/cfn_command.rb', line 973

def i
  @i
end

#lString? (readonly)



976
977
978
# File 'io_t/cfn_command.rb', line 976

def l
  @l
end

#sString? (readonly)



979
980
981
# File 'io_t/cfn_command.rb', line 979

def s
  @s
end

#ulString? (readonly)



982
983
984
# File 'io_t/cfn_command.rb', line 982

def ul
  @ul
end

Class Method Details

.jsii_propertiesObject



984
985
986
987
988
989
990
991
992
993
994
# File 'io_t/cfn_command.rb', line 984

def self.jsii_properties
  {
    :b => "b",
    :bin => "bin",
    :d => "d",
    :i => "i",
    :l => "l",
    :s => "s",
    :ul => "ul",
  }
end

Instance Method Details

#to_jsiiObject



996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
# File 'io_t/cfn_command.rb', line 996

def to_jsii
  result = {}
  result.merge!({
    "b" => @b,
    "bin" => @bin,
    "d" => @d,
    "i" => @i,
    "l" => @l,
    "s" => @s,
    "ul" => @ul,
  })
  result.compact
end