Class: Ansible::Ruby::Modules::Rds

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

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

Constructor Details

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

Instance Method Details

#apply_immediatelyBoolean?

Returns Used only when command=modify. If enabled, the modifications will be applied as soon as possible rather than waiting for the next preferred maintenance window.

Returns:

  • (Boolean, nil)

    Used only when command=modify. If enabled, the modifications will be applied as soon as possible rather than waiting for the next preferred maintenance window.



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

attribute :apply_immediately

#aws_access_keyObject?

Returns AWS access key. If not set then the value of the AWS_ACCESS_KEY environment variable is used.

Returns:

  • (Object, nil)

    AWS access key. If not set then the value of the AWS_ACCESS_KEY environment variable is used.



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

attribute :aws_access_key

#aws_secret_keyObject?

Returns AWS secret key. If not set then the value of the AWS_SECRET_KEY environment variable is used.

Returns:

  • (Object, nil)

    AWS secret key. If not set then the value of the AWS_SECRET_KEY environment variable is used.



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

attribute :aws_secret_key

#backup_retentionObject?

Returns Number of days backups are retained. Set to 0 to disable backups. Default is 1 day. Valid range: 0-35. Used only when command=create or command=modify.

Returns:

  • (Object, nil)

    Number of days backups are retained. Set to 0 to disable backups. Default is 1 day. Valid range: 0-35. Used only when command=create or command=modify.



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

attribute :backup_retention

#backup_windowObject?

Returns Backup window in format of hh24:mi-hh24:mi. If not specified then a random backup window is assigned. Used only when command=create or command=modify.

Returns:

  • (Object, nil)

    Backup window in format of hh24:mi-hh24:mi. If not specified then a random backup window is assigned. Used only when command=create or command=modify.



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

attribute :backup_window

#character_set_nameObject?

Returns Associate the DB instance with a specified character set. Used with command=create.

Returns:

  • (Object, nil)

    Associate the DB instance with a specified character set. Used with command=create.



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

attribute :character_set_name

#command:create, ...

Returns Specifies the action to take. The ‘reboot’ option is available starting at version 2.0.

Returns:

  • (:create, :replicate, :delete, :facts, :modify, :promote, :snapshot, :reboot, :restore)

    Specifies the action to take. The ‘reboot’ option is available starting at version 2.0



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

attribute :command

#db_engine:MySQL, ...

Returns The type of database. Used only when command=create.

Returns:

  • (:MySQL, :"oracle-se1", :"oracle-se", :"oracle-ee", :"sqlserver-ee", :"sqlserver-se", :"sqlserver-ex", :"sqlserver-web", :postgres, nil)

    The type of database. Used only when command=create.



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

attribute :db_engine

#db_nameObject?

Returns Name of a database to create within the instance. If not specified then no database is created. Used only when command=create.

Returns:

  • (Object, nil)

    Name of a database to create within the instance. If not specified then no database is created. Used only when command=create.



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

attribute :db_name

#engine_versionObject?

Returns Version number of the database engine to use. Used only when command=create. If not specified then the current Amazon RDS default engine version is used.

Returns:

  • (Object, nil)

    Version number of the database engine to use. Used only when command=create. If not specified then the current Amazon RDS default engine version is used.



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

attribute :engine_version

#force_failover:yes, ...

Returns Used only when command=reboot. If enabled, the reboot is done using a MultiAZ failover.

Returns:

  • (:yes, :no, nil)

    Used only when command=reboot. If enabled, the reboot is done using a MultiAZ failover.



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

attribute :force_failover

#instance_nameString?

Returns Database instance identifier. Required except when using command=facts or command=delete on just a snapshot.

Returns:

  • (String, nil)

    Database instance identifier. Required except when using command=facts or command=delete on just a snapshot



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

attribute :instance_name

#instance_typeString?

Returns The instance type of the database. Must be specified when command=create. Optional when command=replicate, command=modify or command=restore. If not specified then the replica inherits the same instance type as the source instance.

Returns:

  • (String, nil)

    The instance type of the database. Must be specified when command=create. Optional when command=replicate, command=modify or command=restore. If not specified then the replica inherits the same instance type as the source instance.



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

attribute :instance_type

#iopsObject?

Returns Specifies the number of IOPS for the instance. Used only when command=create or command=modify. Must be an integer greater than 1000.

Returns:

  • (Object, nil)

    Specifies the number of IOPS for the instance. Used only when command=create or command=modify. Must be an integer greater than 1000.



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

attribute :iops

#license_model:"license-included", ...

Returns The license model for this DB instance. Used only when command=create or command=restore.

Returns:

  • (:"license-included", :"bring-your-own-license", :"general-public-license", :"postgresql-license", nil)

    The license model for this DB instance. Used only when command=create or command=restore.



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

attribute :license_model

#maint_windowObject?

Returns Maintenance window in format of ddd:hh24:mi-ddd:hh24:mi. (Example: Mon:22:00-Mon:23:15) If not specified then a random maintenance window is assigned. Used only when command=create or command=modify.

Returns:

  • (Object, nil)

    Maintenance window in format of ddd:hh24:mi-ddd:hh24:mi. (Example: Mon:22:00-Mon:23:15) If not specified then a random maintenance window is assigned. Used only when command=create or command=modify.



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

attribute :maint_window

#multi_zone:yes, ...

Returns Specifies if this is a Multi-availability-zone deployment. Can not be used in conjunction with zone parameter. Used only when command=create or command=modify.

Returns:

  • (:yes, :no, nil)

    Specifies if this is a Multi-availability-zone deployment. Can not be used in conjunction with zone parameter. Used only when command=create or command=modify.



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

attribute :multi_zone

#new_instance_nameString?

Returns Name to rename an instance to. Used only when command=modify.

Returns:

  • (String, nil)

    Name to rename an instance to. Used only when command=modify.



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

attribute :new_instance_name

#option_groupObject?

Returns The name of the option group to use. If not specified then the default option group is used. Used only when command=create.

Returns:

  • (Object, nil)

    The name of the option group to use. If not specified then the default option group is used. Used only when command=create.



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

attribute :option_group

#parameter_groupObject?

Returns Name of the DB parameter group to associate with this instance. If omitted then the RDS default DBParameterGroup will be used. Used only when command=create or command=modify.

Returns:

  • (Object, nil)

    Name of the DB parameter group to associate with this instance. If omitted then the RDS default DBParameterGroup will be used. Used only when command=create or command=modify.



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

attribute :parameter_group

#passwordString?

Returns Password for the master database username. Used only when command=create or command=modify.

Returns:

  • (String, nil)

    Password for the master database username. Used only when command=create or command=modify.



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

attribute :password

#portInteger?

Returns Port number that the DB instance uses for connections. Used only when command=create or command=replicate.,Prior to 2.0 it always defaults to null and the API would use 3306, it had to be set to other DB default values when not using MySql. Starting at 2.0 it auotmaticaly defaults to what is expected for each c(db_engine).

Returns:

  • (Integer, nil)

    Port number that the DB instance uses for connections. Used only when command=create or command=replicate.,Prior to 2.0 it always defaults to null and the API would use 3306, it had to be set to other DB default values when not using MySql. Starting at 2.0 it auotmaticaly defaults to what is expected for each c(db_engine).



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

attribute :port

#publicly_accessibleBoolean?

Returns explicitly set whether the resource should be publicly accessible or not. Used with command=create, command=replicate. Requires boto >= 2.26.0.

Returns:

  • (Boolean, nil)

    explicitly set whether the resource should be publicly accessible or not. Used with command=create, command=replicate. Requires boto >= 2.26.0



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

attribute :publicly_accessible

#regionString

Returns The AWS region to use. If not specified then the value of the EC2_REGION environment variable, if any, is used.

Returns:

  • (String)

    The AWS region to use. If not specified then the value of the EC2_REGION environment variable, if any, is used.



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

attribute :region

#security_groupsObject?

Returns Comma separated list of one or more security groups. Used only when command=create or command=modify.

Returns:

  • (Object, nil)

    Comma separated list of one or more security groups. Used only when command=create or command=modify.



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

attribute :security_groups

#sizeInteger?

Returns Size in gigabytes of the initial storage for the DB instance. Used only when command=create or command=modify.

Returns:

  • (Integer, nil)

    Size in gigabytes of the initial storage for the DB instance. Used only when command=create or command=modify.



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

attribute :size

#snapshotString?

Returns Name of snapshot to take. When command=delete, if no snapshot name is provided then no snapshot is taken. If used with command=delete with no instance_name, the snapshot is deleted. Used with command=facts, command=delete or command=snapshot.

Returns:

  • (String, nil)

    Name of snapshot to take. When command=delete, if no snapshot name is provided then no snapshot is taken. If used with command=delete with no instance_name, the snapshot is deleted. Used with command=facts, command=delete or command=snapshot.



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

attribute :snapshot

#source_instanceString?

Returns Name of the database to replicate. Used only when command=replicate.

Returns:

  • (String, nil)

    Name of the database to replicate. Used only when command=replicate.



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

attribute :source_instance

#subnetString?

Returns VPC subnet group. If specified then a VPC instance is created. Used only when command=create.

Returns:

  • (String, nil)

    VPC subnet group. If specified then a VPC instance is created. Used only when command=create.



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

attribute :subnet

#tagsHash?

Returns tags dict to apply to a resource. Used with command=create, command=replicate, command=restore. Requires boto >= 2.26.0.

Returns:

  • (Hash, nil)

    tags dict to apply to a resource. Used with command=create, command=replicate, command=restore. Requires boto >= 2.26.0



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

attribute :tags

#upgradeBoolean?

Returns Indicates that minor version upgrades should be applied automatically. Used only when command=create or command=replicate.

Returns:

  • (Boolean, nil)

    Indicates that minor version upgrades should be applied automatically. Used only when command=create or command=replicate.



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

attribute :upgrade

#usernameString?

Returns Master database username. Used only when command=create.

Returns:

  • (String, nil)

    Master database username. Used only when command=create.



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

attribute :username

#vpc_security_groupsString?

Returns Comma separated list of one or more vpc security group ids. Also requires ‘subnet` to be specified. Used only when command=create or command=modify.

Returns:

  • (String, nil)

    Comma separated list of one or more vpc security group ids. Also requires ‘subnet` to be specified. Used only when command=create or command=modify.



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

attribute :vpc_security_groups

#wait:yes, ...

Returns When command=create, replicate, modify or restore then wait for the database to enter the ‘available’ state. When command=delete wait for the database to be terminated.

Returns:

  • (:yes, :no, nil)

    When command=create, replicate, modify or restore then wait for the database to enter the ‘available’ state. When command=delete wait for the database to be terminated.



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

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



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

attribute :wait_timeout

#zoneString?

Returns availability zone in which to launch the instance. Used only when command=create, command=replicate or command=restore.

Returns:

  • (String, nil)

    availability zone in which to launch the instance. Used only when command=create, command=replicate or command=restore.



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

attribute :zone