Class: AWSCDK::KinesisAnalytics::CfnApplicationV2::InputLambdaProcessorProperty

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

Overview

An object that contains the Amazon Resource Name (ARN) of the Amazon Lambda function that is used to preprocess records in the stream in a SQL-based Kinesis Data Analytics application.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource_arn:) ⇒ InputLambdaProcessorProperty

Returns a new instance of InputLambdaProcessorProperty.

Parameters:

  • resource_arn (String)

    The ARN of the Amazon Lambda function that operates on records in the stream.



1447
1448
1449
1450
# File 'kinesis_analytics/cfn_application_v2.rb', line 1447

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 ARN of the Amazon Lambda function that operates on records in the stream.

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



1458
1459
1460
# File 'kinesis_analytics/cfn_application_v2.rb', line 1458

def resource_arn
  @resource_arn
end

Class Method Details

.jsii_propertiesObject



1460
1461
1462
1463
1464
# File 'kinesis_analytics/cfn_application_v2.rb', line 1460

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

Instance Method Details

#to_jsiiObject



1466
1467
1468
1469
1470
1471
1472
# File 'kinesis_analytics/cfn_application_v2.rb', line 1466

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