Class: AWSCDK::CustomerProfiles::CfnIntegration::TaskPropertiesMapProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
customer_profiles/cfn_integration.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(operator_property_key:, property:) ⇒ TaskPropertiesMapProperty

Returns a new instance of TaskPropertiesMapProperty.

Parameters:

  • operator_property_key (String)

    The task property key.

  • property (String)

    The task property value.



1250
1251
1252
1253
1254
1255
# File 'customer_profiles/cfn_integration.rb', line 1250

def initialize(operator_property_key:, property:)
  @operator_property_key = operator_property_key
  Jsii::Type.check_type(@operator_property_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "operatorPropertyKey")
  @property = property
  Jsii::Type.check_type(@property, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "property")
end

Instance Attribute Details

#operator_property_keyString (readonly)

The task property key.



1261
1262
1263
# File 'customer_profiles/cfn_integration.rb', line 1261

def operator_property_key
  @operator_property_key
end

#propertyString (readonly)

The task property value.



1266
1267
1268
# File 'customer_profiles/cfn_integration.rb', line 1266

def property
  @property
end

Class Method Details

.jsii_propertiesObject



1268
1269
1270
1271
1272
1273
# File 'customer_profiles/cfn_integration.rb', line 1268

def self.jsii_properties
  {
    :operator_property_key => "operatorPropertyKey",
    :property => "property",
  }
end

Instance Method Details

#to_jsiiObject



1275
1276
1277
1278
1279
1280
1281
1282
# File 'customer_profiles/cfn_integration.rb', line 1275

def to_jsii
  result = {}
  result.merge!({
    "operatorPropertyKey" => @operator_property_key,
    "property" => @property,
  })
  result.compact
end