Class: AWSCDK::FinSpace::CfnEnvironment::AttributeMapItemsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
fin_space/cfn_environment.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key: nil, value: nil) ⇒ AttributeMapItemsProperty

Returns a new instance of AttributeMapItemsProperty.

Parameters:

  • key (String, nil) (defaults to: nil)

    The key name of the tag.

  • value (String, nil) (defaults to: nil)

    The value for the tag.



684
685
686
687
688
689
# File 'fin_space/cfn_environment.rb', line 684

def initialize(key: nil, value: nil)
  @key = key
  Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") unless @key.nil?
  @value = value
  Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") unless @value.nil?
end

Instance Attribute Details

#keyString? (readonly)

The key name of the tag.

You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.



697
698
699
# File 'fin_space/cfn_environment.rb', line 697

def key
  @key
end

#valueString? (readonly)

The value for the tag.

You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.



704
705
706
# File 'fin_space/cfn_environment.rb', line 704

def value
  @value
end

Class Method Details

.jsii_propertiesObject



706
707
708
709
710
711
# File 'fin_space/cfn_environment.rb', line 706

def self.jsii_properties
  {
    :key => "key",
    :value => "value",
  }
end

Instance Method Details

#to_jsiiObject



713
714
715
716
717
718
719
720
# File 'fin_space/cfn_environment.rb', line 713

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