Class: AWSCDK::StepFunctions::CfnStateMachine::TagsEntryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::StepFunctions::CfnStateMachine::TagsEntryProperty
- Defined in:
- step_functions/cfn_state_machine.rb
Overview
The TagsEntry property specifies tags to identify a state machine.
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The
keyfor a key-value pair in a tag entry. -
#value ⇒ String
readonly
The
valuefor a key-value pair in a tag entry.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ TagsEntryProperty
constructor
A new instance of TagsEntryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ TagsEntryProperty
Returns a new instance of TagsEntryProperty.
931 932 933 934 935 936 |
# File 'step_functions/cfn_state_machine.rb', line 931 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
The key for a key-value pair in a tag entry.
942 943 944 |
# File 'step_functions/cfn_state_machine.rb', line 942 def key @key end |
#value ⇒ String (readonly)
The value for a key-value pair in a tag entry.
947 948 949 |
# File 'step_functions/cfn_state_machine.rb', line 947 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
949 950 951 952 953 954 |
# File 'step_functions/cfn_state_machine.rb', line 949 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
956 957 958 959 960 961 962 963 |
# File 'step_functions/cfn_state_machine.rb', line 956 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |