Class: Ansible::Ruby::Modules::Lambda_alias

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/amazon/lambda_alias.rb

Overview

This module allows the management of AWS Lambda functions aliases via the Ansible framework. It is idempotent and supports “Check” mode. Use module M(lambda) to manage the lambda function itself and M(lambda_event) to manage event source mappings.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#descriptionObject?

Returns A short, user-defined function alias description.

Returns:

  • (Object, nil)

    A short, user-defined function alias description.



24
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_alias.rb', line 24

attribute :description

#function_nameObject

Returns The name of the function alias.

Returns:

  • (Object)

    The name of the function alias.



12
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_alias.rb', line 12

attribute :function_name

#nameString

Returns Name of the function alias.

Returns:

  • (String)

    Name of the function alias.



20
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_alias.rb', line 20

attribute :name

#state:present, :absent

Returns Describes the desired state.

Returns:

  • (:present, :absent)

    Describes the desired state.



16
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_alias.rb', line 16

attribute :state

#versionObject?

Returns Version associated with the Lambda function alias. A value of 0 (or omitted parameter) sets the alias to the $LATEST version.

Returns:

  • (Object, nil)

    Version associated with the Lambda function alias. A value of 0 (or omitted parameter) sets the alias to the $LATEST version.



27
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/lambda_alias.rb', line 27

attribute :version