Class: AWSCDK::AppSync::CfnDataSource::LambdaConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppSync::CfnDataSource::LambdaConfigProperty
- Defined in:
- app_sync/cfn_data_source.rb
Overview
The LambdaConfig property type specifies the Lambda function ARN for an AWS AppSync data source.
LambdaConfig is a property of the AWS::AppSync::DataSource property type.
Instance Attribute Summary collapse
-
#lambda_function_arn ⇒ String
readonly
The ARN for the Lambda function.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(lambda_function_arn:) ⇒ LambdaConfigProperty
constructor
A new instance of LambdaConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(lambda_function_arn:) ⇒ LambdaConfigProperty
Returns a new instance of LambdaConfigProperty.
1024 1025 1026 1027 |
# File 'app_sync/cfn_data_source.rb', line 1024 def initialize(lambda_function_arn:) @lambda_function_arn = lambda_function_arn Jsii::Type.check_type(@lambda_function_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lambdaFunctionArn") end |
Instance Attribute Details
#lambda_function_arn ⇒ String (readonly)
The ARN for the Lambda function.
1033 1034 1035 |
# File 'app_sync/cfn_data_source.rb', line 1033 def lambda_function_arn @lambda_function_arn end |
Class Method Details
.jsii_properties ⇒ Object
1035 1036 1037 1038 1039 |
# File 'app_sync/cfn_data_source.rb', line 1035 def self.jsii_properties { :lambda_function_arn => "lambdaFunctionArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1041 1042 1043 1044 1045 1046 1047 |
# File 'app_sync/cfn_data_source.rb', line 1041 def to_jsii result = {} result.merge!({ "lambdaFunctionArn" => @lambda_function_arn, }) result.compact end |