Class: Ansible::Ruby::Modules::Elasticache

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

Overview

Manage cache clusters in Amazon Elasticache. Returns information about the specified cache cluster.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#cache_engine_versionString?

Returns The version number of the cache engine.

Returns:

  • (String, nil)

    The version number of the cache engine



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

attribute :cache_engine_version

#cache_parameter_groupObject?

Returns The name of the cache parameter group to associate with this cache cluster. If this argument is omitted, the default cache parameter group for the specified engine will be used.

Returns:

  • (Object, nil)

    The name of the cache parameter group to associate with this cache cluster. If this argument is omitted, the default cache parameter group for the specified engine will be used.



40
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache.rb', line 40

attribute :cache_parameter_group

#cache_portInteger?

Returns The port number on which each of the cache nodes will accept connections.

Returns:

  • (Integer, nil)

    The port number on which each of the cache nodes will accept connections



36
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache.rb', line 36

attribute :cache_port

#cache_security_groupsArray<String>, ...

Returns A list of cache security group names to associate with this cache cluster. Must be an empty list if inside a vpc.

Returns:

  • (Array<String>, String, nil)

    A list of cache security group names to associate with this cache cluster. Must be an empty list if inside a vpc



49
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache.rb', line 49

attribute :cache_security_groups

#cache_subnet_groupObject?

Returns The subnet group name to associate with. Only use if inside a vpc. Required if inside a vpc.

Returns:

  • (Object, nil)

    The subnet group name to associate with. Only use if inside a vpc. Required if inside a vpc



43
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache.rb', line 43

attribute :cache_subnet_group

#engine:redis, ...

Returns Name of the cache engine to be used.

Returns:

  • (:redis, :memcached, nil)

    Name of the cache engine to be used.



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

attribute :engine

#hard_modifyBoolean?

Returns Whether to destroy and recreate an existing cache cluster if necessary in order to modify its state.

Returns:

  • (Boolean, nil)

    Whether to destroy and recreate an existing cache cluster if necessary in order to modify its state



61
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache.rb', line 61

attribute :hard_modify

#nameString

Returns The cache cluster identifier.

Returns:

  • (String)

    The cache cluster identifier



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

attribute :name

#node_typeString?

Returns The compute and memory capacity of the nodes in the cache cluster.

Returns:

  • (String, nil)

    The compute and memory capacity of the nodes in the cache cluster



28
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache.rb', line 28

attribute :node_type

#num_nodesInteger?

Returns The initial number of cache nodes that the cache cluster will have. Required when state=present.

Returns:

  • (Integer, nil)

    The initial number of cache nodes that the cache cluster will have. Required when state=present.



32
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache.rb', line 32

attribute :num_nodes

#security_group_idsObject?

Returns A list of vpc security group names to associate with this cache cluster. Only use if inside a vpc.

Returns:

  • (Object, nil)

    A list of vpc security group names to associate with this cache cluster. Only use if inside a vpc



46
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache.rb', line 46

attribute :security_group_ids

#state:present, ...

Returns C(absent) or C(present) are idempotent actions that will create or destroy a cache cluster as needed. C(rebooted) will reboot the cluster, resulting in a momentary outage.

Returns:

  • (:present, :absent, :rebooted)

    C(absent) or C(present) are idempotent actions that will create or destroy a cache cluster as needed. C(rebooted) will reboot the cluster, resulting in a momentary outage.



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

attribute :state

#waitBoolean?

Returns Wait for cache cluster result before returning.

Returns:

  • (Boolean, nil)

    Wait for cache cluster result before returning



57
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache.rb', line 57

attribute :wait

#zoneString?

Returns The EC2 Availability Zone in which the cache cluster will be created.

Returns:

  • (String, nil)

    The EC2 Availability Zone in which the cache cluster will be created



53
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/elasticache.rb', line 53

attribute :zone