Class: AWSCDK::AppFlow::CfnFlow::TaskPropertiesObjectProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnFlow::TaskPropertiesObjectProperty
- Defined in:
- app_flow/cfn_flow.rb
Overview
A map used to store task-related information.
The execution service looks for particular information based on the TaskType .
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The task property key.
-
#value ⇒ String
readonly
The task property value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ TaskPropertiesObjectProperty
constructor
A new instance of TaskPropertiesObjectProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ TaskPropertiesObjectProperty
Returns a new instance of TaskPropertiesObjectProperty.
3098 3099 3100 3101 3102 3103 |
# File 'app_flow/cfn_flow.rb', line 3098 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 task property key.
3109 3110 3111 |
# File 'app_flow/cfn_flow.rb', line 3109 def key @key end |
#value ⇒ String (readonly)
The task property value.
3114 3115 3116 |
# File 'app_flow/cfn_flow.rb', line 3114 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
3116 3117 3118 3119 3120 3121 |
# File 'app_flow/cfn_flow.rb', line 3116 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
3123 3124 3125 3126 3127 3128 3129 3130 |
# File 'app_flow/cfn_flow.rb', line 3123 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |