Class: AWSCDK::KinesisAnalyticsv2::CfnApplicationOutput::LambdaOutputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalyticsv2::CfnApplicationOutput::LambdaOutputProperty
- Defined in:
- kinesis_analyticsv2/cfn_application_output.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
-
#resource_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the destination Lambda function to write to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(resource_arn:) ⇒ LambdaOutputProperty
constructor
A new instance of LambdaOutputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(resource_arn:) ⇒ LambdaOutputProperty
Returns a new instance of LambdaOutputProperty.
625 626 627 628 |
# File 'kinesis_analyticsv2/cfn_application_output.rb', line 625 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_arn ⇒ String (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
636 637 638 |
# File 'kinesis_analyticsv2/cfn_application_output.rb', line 636 def resource_arn @resource_arn end |
Class Method Details
.jsii_properties ⇒ Object
638 639 640 641 642 |
# File 'kinesis_analyticsv2/cfn_application_output.rb', line 638 def self.jsii_properties { :resource_arn => "resourceArn", } end |
Instance Method Details
#to_jsii ⇒ Object
644 645 646 647 648 649 650 |
# File 'kinesis_analyticsv2/cfn_application_output.rb', line 644 def to_jsii result = {} result.merge!({ "resourceArn" => @resource_arn, }) result.compact end |