Class: AWSCDK::KinesisAnalytics::CfnApplicationOutputV2::LambdaOutputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_analytics/cfn_application_output_v2.rb

Overview

When you configure a SQL-based Kinesis Data Analytics application's output, identifies an Amazon Lambda function as the destination.

You provide the function Amazon Resource Name (ARN) of the Lambda function.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource_arn:) ⇒ LambdaOutputProperty

Returns a new instance of LambdaOutputProperty.

Parameters:

  • resource_arn (String)

    The Amazon Resource Name (ARN) of the destination Lambda function to write to.



626
627
628
629
# File 'kinesis_analytics/cfn_application_output_v2.rb', line 626

def initialize(resource_arn:)
  @resource_arn = resource_arn
  Jsii::Type.check_type(@resource_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceArn")
end

Instance Attribute Details

#resource_arnString (readonly)

The Amazon Resource Name (ARN) of the destination Lambda function to write to.

To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda



637
638
639
# File 'kinesis_analytics/cfn_application_output_v2.rb', line 637

def resource_arn
  @resource_arn
end

Class Method Details

.jsii_propertiesObject



639
640
641
642
643
# File 'kinesis_analytics/cfn_application_output_v2.rb', line 639

def self.jsii_properties
  {
    :resource_arn => "resourceArn",
  }
end

Instance Method Details

#to_jsiiObject



645
646
647
648
649
650
651
# File 'kinesis_analytics/cfn_application_output_v2.rb', line 645

def to_jsii
  result = {}
  result.merge!({
    "resourceArn" => @resource_arn,
  })
  result.compact
end