Class: AWSCDK::AppFlow::CfnFlow::TaskPropertiesObjectProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key:, value:) ⇒ TaskPropertiesObjectProperty

Returns a new instance of TaskPropertiesObjectProperty.

Parameters:

  • key (String)

    The task property key.

  • value (String)

    The task property value.



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

#keyString (readonly)

The task property key.



3109
3110
3111
# File 'app_flow/cfn_flow.rb', line 3109

def key
  @key
end

#valueString (readonly)

The task property value.



3114
3115
3116
# File 'app_flow/cfn_flow.rb', line 3114

def value
  @value
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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