Class: Ansible::Ruby::Modules::Lambda_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Lambda_policy
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/lambda_policy.rb
Overview
This module allows the management of AWS Lambda policy statements. It is idempotent and supports “Check” mode. Use module M(lambda) to manage the lambda function itself, M(lambda_alias) to manage function aliases, M(lambda_event) to manage event source mappings such as Kinesis streams, M(execute_lambda) to execute a lambda function and M(lambda_facts) to gather facts relating to one or more lambda functions.
Instance Method Summary collapse
-
#action ⇒ Object
The AWS Lambda action you want to allow in this statement.
-
#alias ⇒ Object?
Name of the function alias.
-
#event_source_token ⇒ Object?
Token string representing source ARN or account.
-
#function_name ⇒ Object
Name of the Lambda function whose resource policy you are updating by adding a new permission.,You can specify a function name (for example, Thumbnail ) or you can specify Amazon Resource Name (ARN) of the,function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail ).
-
#principal ⇒ Object
The principal who is getting this permission.
-
#source_account ⇒ Object?
The AWS account ID (without a hyphen) of the source owner.
-
#source_arn ⇒ Object?
This is optional; however, when granting Amazon S3 permission to invoke your function, you should specify this field with the bucket Amazon Resource Name (ARN) as its value.
-
#state ⇒ :present, :absent
Describes the desired state.
-
#statement_id ⇒ Object
A unique statement identifier.
-
#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
#action ⇒ Object
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_policy.rb', line 30 attribute :action |
#alias ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_policy.rb', line 20 attribute :alias |
#event_source_token ⇒ Object?
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_policy.rb', line 44 attribute :event_source_token |
#function_name ⇒ Object
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_policy.rb', line 12 attribute :function_name |
#principal ⇒ Object
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_policy.rb', line 34 attribute :principal |
#source_account ⇒ Object?
41 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_policy.rb', line 41 attribute :source_account |
#source_arn ⇒ Object?
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_policy.rb', line 38 attribute :source_arn |
#state ⇒ :present, :absent
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_policy.rb', line 16 attribute :state |
#statement_id ⇒ Object
26 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_policy.rb', line 26 attribute :statement_id |
#version ⇒ Object?
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_policy.rb', line 23 attribute :version |