Class: Ansible::Ruby::Modules::Rds
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rds
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb
Instance Method Summary collapse
-
#apply_immediately ⇒ Boolean?
Used only when command=modify.
-
#aws_access_key ⇒ Object?
AWS access key.
-
#aws_secret_key ⇒ Object?
AWS secret key.
-
#backup_retention ⇒ Object?
Number of days backups are retained.
-
#backup_window ⇒ Object?
Backup window in format of hh24:mi-hh24:mi.
-
#character_set_name ⇒ Object?
Associate the DB instance with a specified character set.
-
#command ⇒ :create, ...
Specifies the action to take.
-
#db_engine ⇒ :MySQL, ...
The type of database.
-
#db_name ⇒ Object?
Name of a database to create within the instance.
-
#engine_version ⇒ Object?
Version number of the database engine to use.
-
#force_failover ⇒ :yes, ...
Used only when command=reboot.
-
#instance_name ⇒ String?
Database instance identifier.
-
#instance_type ⇒ String?
The instance type of the database.
-
#iops ⇒ Object?
Specifies the number of IOPS for the instance.
-
#license_model ⇒ :"license-included", ...
The license model for this DB instance.
-
#maint_window ⇒ Object?
Maintenance window in format of ddd:hh24:mi-ddd:hh24:mi.
-
#multi_zone ⇒ :yes, ...
Specifies if this is a Multi-availability-zone deployment.
-
#new_instance_name ⇒ String?
Name to rename an instance to.
-
#option_group ⇒ Object?
The name of the option group to use.
-
#parameter_group ⇒ Object?
Name of the DB parameter group to associate with this instance.
-
#password ⇒ String?
Password for the master database username.
-
#port ⇒ Integer?
Port number that the DB instance uses for connections.
-
#publicly_accessible ⇒ Boolean?
Explicitly set whether the resource should be publicly accessible or not.
-
#region ⇒ String
The AWS region to use.
-
#security_groups ⇒ Object?
Comma separated list of one or more security groups.
-
#size ⇒ Integer?
Size in gigabytes of the initial storage for the DB instance.
-
#snapshot ⇒ String?
Name of snapshot to take.
-
#source_instance ⇒ String?
Name of the database to replicate.
-
#subnet ⇒ String?
VPC subnet group.
-
#tags ⇒ Hash?
Tags dict to apply to a resource.
-
#upgrade ⇒ Boolean?
Indicates that minor version upgrades should be applied automatically.
-
#username ⇒ String?
Master database username.
-
#vpc_security_groups ⇒ String?
Comma separated list of one or more vpc security group ids.
-
#wait ⇒ :yes, ...
When command=create, replicate, modify or restore then wait for the database to enter the ‘available’ state.
-
#wait_timeout ⇒ Integer?
How long before wait gives up, in seconds.
-
#zone ⇒ String?
Availability zone in which to launch the instance.
Methods inherited from Base
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_immediately ⇒ Boolean?
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.
119 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 119 attribute :apply_immediately |
#aws_access_key ⇒ Object?
Returns 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_key ⇒ Object?
Returns 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_retention ⇒ Object?
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.
90 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 90 attribute :backup_retention |
#backup_window ⇒ Object?
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.
87 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 87 attribute :backup_window |
#character_set_name ⇒ Object?
Returns 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.
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.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 22 attribute :db_engine |
#db_name ⇒ Object?
Returns 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_version ⇒ Object?
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.
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.
123 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 123 attribute :force_failover |
#instance_name ⇒ String?
Returns 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_type ⇒ String?
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.
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 30 attribute :instance_type |
#iops ⇒ Object?
Returns 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.
55 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 55 attribute :license_model |
#maint_window ⇒ Object?
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.
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.
59 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 59 attribute :multi_zone |
#new_instance_name ⇒ String?
Returns 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_group ⇒ Object?
Returns 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_group ⇒ Object?
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.
52 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 52 attribute :parameter_group |
#password ⇒ String?
Returns 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 |
#port ⇒ Integer?
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).
73 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 73 attribute :port |
#publicly_accessible ⇒ Boolean?
Returns 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 |
#region ⇒ String
Returns 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_groups ⇒ Object?
Returns 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 |
#size ⇒ Integer?
Returns 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 |
#snapshot ⇒ String?
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.
101 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 101 attribute :snapshot |
#source_instance ⇒ String?
Returns 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 |
#subnet ⇒ String?
Returns 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 |
#tags ⇒ Hash?
Returns 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 |
#upgrade ⇒ Boolean?
Returns 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 |
#username ⇒ String?
Returns 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_groups ⇒ String?
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.
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.
111 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/rds.rb', line 111 attribute :wait |
#wait_timeout ⇒ Integer?
Returns 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 |
#zone ⇒ String?
Returns 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 |