Class: AWSCDK::KinesisAnalyticsv2::CfnApplication::InputLambdaProcessorProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_analyticsv2/cfn_application.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.



1446
1447
1448
1449
# File 'kinesis_analyticsv2/cfn_application.rb', line 1446

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



1457
1458
1459
# File 'kinesis_analyticsv2/cfn_application.rb', line 1457

def resource_arn
  @resource_arn
end

Class Method Details

.jsii_propertiesObject



1459
1460
1461
1462
1463
# File 'kinesis_analyticsv2/cfn_application.rb', line 1459

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

Instance Method Details

#to_jsiiObject



1465
1466
1467
1468
1469
1470
1471
# File 'kinesis_analyticsv2/cfn_application.rb', line 1465

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