Class: Ansible::Ruby::Modules::Lambda_event
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Lambda_event
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/lambda_event.rb
Overview
This module allows the management of AWS Lambda function event source mappings such as DynamoDB and Kinesis stream events via the Ansible framework. These event source mappings are relevant only in the AWS Lambda pull model, where AWS Lambda invokes the function. It is idempotent and supports “Check” mode. Use module M(lambda) to manage the lambda function itself and M(lambda_alias) to manage function aliases.
Instance Method Summary collapse
-
#alias ⇒ Object
Name of the function alias.
-
#event_source ⇒ :stream, ...
Source of the event that triggers the lambda function.,For DynamoDB and Kinesis events, select ‘stream’,For SQS queues, select ‘sqs’.
-
#lambda_function_arn ⇒ Object
The name or ARN of the lambda function.
-
#source_params ⇒ Object
Sub-parameters required for event source.,I(== stream event source ==),C(source_arn) The Amazon Resource Name (ARN) of the Kinesis or DynamoDB stream that is the event source.,C(enabled) Indicates whether AWS Lambda should begin polling the event source.
-
#state ⇒ :present, :absent
Describes the desired state.
-
#version ⇒ Object?
Version of the Lambda function.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#alias ⇒ Object
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_event.rb', line 20 attribute :alias |
#event_source ⇒ :stream, ...
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_event.rb', line 27 attribute :event_source |
#lambda_function_arn ⇒ Object
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_event.rb', line 12 attribute :lambda_function_arn |
#source_params ⇒ Object
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_event.rb', line 31 attribute :source_params |
#state ⇒ :present, :absent
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_event.rb', line 16 attribute :state |
#version ⇒ Object?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_event.rb', line 24 attribute :version |