Class: Ansible::Ruby::Modules::Lambda
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Lambda
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb
Overview
Allows for the management of Lambda functions.
Instance Method Summary collapse
-
#dead_letter_arn ⇒ Object?
The parent object that contains the target Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
-
#description ⇒ Object?
A short, user-defined function description.
-
#environment_variables ⇒ String?
A dictionary of environment variables the Lambda function is given.
-
#handler ⇒ String?
The function within your code that Lambda calls to begin execution.
-
#memory_size ⇒ Integer?
The amount of memory, in MB, your Lambda function is given.
-
#name ⇒ String
The name you want to assign to the function you are uploading.
-
#role ⇒ String?
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.
-
#runtime ⇒ String?
The runtime environment for the Lambda function you are uploading.
-
#s3_bucket ⇒ Object?
Amazon S3 bucket name where the .zip file containing your deployment package is stored,If C(state=present) then either zip_file or s3_bucket must be present.,s3_bucket and s3_key are required together.
-
#s3_key ⇒ Object?
The Amazon S3 object (the deployment package) key name you want to upload,s3_bucket and s3_key are required together.
-
#s3_object_version ⇒ Object?
The Amazon S3 object (the deployment package) version you want to upload.
-
#state ⇒ :present, ...
Create or delete Lambda function.
-
#tags ⇒ Hash?
Tag dict to apply to the function (requires botocore 1.5.40 or above).
-
#timeout ⇒ Integer?
The function maximum execution time in seconds after which Lambda should terminate the function.
-
#vpc_security_group_ids ⇒ Array<String>, ...
List of VPC security group IDs to associate with the Lambda function.
-
#vpc_subnet_ids ⇒ Array<String>, ...
List of subnet IDs to run Lambda function in.
-
#zip_file ⇒ String?
A .zip file containing your deployment package,If C(state=present) then either zip_file or s3_bucket must be present.
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
#dead_letter_arn ⇒ Object?
68 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 68 attribute :dead_letter_arn |
#description ⇒ Object?
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 45 attribute :description |
#environment_variables ⇒ String?
64 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 64 attribute :environment_variables |
#handler ⇒ String?
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 28 attribute :handler |
#memory_size ⇒ Integer?
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 52 attribute :memory_size |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 12 attribute :name |
#role ⇒ String?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 24 attribute :role |
#runtime ⇒ String?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 20 attribute :runtime |
#s3_bucket ⇒ Object?
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 36 attribute :s3_bucket |
#s3_key ⇒ Object?
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 39 attribute :s3_key |
#s3_object_version ⇒ Object?
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 42 attribute :s3_object_version |
#state ⇒ :present, ...
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 16 attribute :state |
#tags ⇒ Hash?
71 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 71 attribute :tags |
#timeout ⇒ Integer?
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 48 attribute :timeout |
#vpc_security_group_ids ⇒ Array<String>, ...
60 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 60 attribute :vpc_security_group_ids |
#vpc_subnet_ids ⇒ Array<String>, ...
56 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 56 attribute :vpc_subnet_ids |
#zip_file ⇒ String?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda.rb', line 32 attribute :zip_file |