Class: AWSCDK::AppFlow::CfnFlow::EventBridgeDestinationPropertiesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_flow/cfn_flow.rb

Overview

The properties that are applied when Amazon EventBridge is being used as a destination.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object:, error_handling_config: nil) ⇒ EventBridgeDestinationPropertiesProperty

Returns a new instance of EventBridgeDestinationPropertiesProperty.

Parameters:



1431
1432
1433
1434
1435
1436
# File 'app_flow/cfn_flow.rb', line 1431

def initialize(object:, error_handling_config: nil)
  @object = object
  Jsii::Type.check_type(@object, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "object")
  @error_handling_config = error_handling_config.is_a?(Hash) ? ::AWSCDK::AppFlow::CfnFlow::ErrorHandlingConfigProperty.new(**error_handling_config.transform_keys(&:to_sym)) : error_handling_config
  Jsii::Type.check_type(@error_handling_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBmbG93LkNmbkZsb3cuRXJyb3JIYW5kbGluZ0NvbmZpZ1Byb3BlcnR5In1dfX0=")), "errorHandlingConfig") unless @error_handling_config.nil?
end

Instance Attribute Details

#error_handling_configAWSCDK::IResolvable, ... (readonly)

The object specified in the Amplitude flow source.



1447
1448
1449
# File 'app_flow/cfn_flow.rb', line 1447

def error_handling_config
  @error_handling_config
end

#objectString (readonly)

The object specified in the Amazon EventBridge flow destination.



1442
1443
1444
# File 'app_flow/cfn_flow.rb', line 1442

def object
  @object
end

Class Method Details

.jsii_propertiesObject



1449
1450
1451
1452
1453
1454
# File 'app_flow/cfn_flow.rb', line 1449

def self.jsii_properties
  {
    :object => "object",
    :error_handling_config => "errorHandlingConfig",
  }
end

Instance Method Details

#to_jsiiObject



1456
1457
1458
1459
1460
1461
1462
1463
# File 'app_flow/cfn_flow.rb', line 1456

def to_jsii
  result = {}
  result.merge!({
    "object" => @object,
    "errorHandlingConfig" => @error_handling_config,
  })
  result.compact
end