1VM::EC2::DB::Instance(3U)ser Contributed Perl DocumentatiVoMn::EC2::DB::Instance(3)
2
3
4
6 VM::EC2::DB::Instance - Object describing an Amazon RDS instance
7
9 use VM::EC2;
10
11 $ec2 = VM::EC2->new(...);
12 $db = $ec2->describe_db_instances('mydbinstance');
13
14 $auto_upgrade = $db->AutoMinorVersionUpgrade;
15 $az = $db->AvailabilityZone;
16 $bkup_days = $db->BackupRetentionPeriod;
17 $charset = $db->CharacterSetName;
18 $class = $db->DBInstanceClass;
19 $status = $db->DBInstanceStatus;
20 $db_name = $db->DBName;
21 @parm_grps = $db->DBParameterGroups;
22 @sec_grps = $db->DBSecurityGroups;
23 @subnet_grps = $db->DBSecurityGroups;
24 $endpt = $db->Endpoint;
25 $engine = $db->Engine;
26 $version = $db->EngineVersion;
27 $create_time = $db->InstanceCreateTime;
28 $iops = $db->Iops;
29 $latest_restorable_time = $db->LatestRestorableTime;
30 $license = $db->LicenseModel;
31 $user = $db->MasterUsername;
32 $multi_az = $db->MultiAZ;
33 @option_grp_memberships = $db->OptionGroupMemberships;
34 @pending_vals = $db->PendingModifiedValues;
35 $backup_window = $db->PreferredBackupWindow;
36 $maint_window = $db->PreferredMaintenanceWindow;
37 $publicly_accessible = $db->PubliclyAccessible;
38 @ids = $db->ReadReplicaDBInstanceIdentifiers;
39 $id = $db->ReadReplicaSourceDBInstanceIdentifier;
40 $sec_zone = $db->SecondaryAvailabilityZone;
41 @vpc_grps = $db->VpcSecurityGroups;
42
44 This object represents an Amazon RDS DB instance, and is returned by
45 VM::EC2->describe_db_instances(). In addition to methods to query the
46 instance's attributes, there are methods that allow you to manage the
47 instance's lifecycle, including start, stopping, and terminating it.
48
51 There is no concept of 'stopping' an RDS instance other than deletion.
52 In this sense an RDS instance is much different than an EC2 instance.
53 Rebooting is possible and the only means to apply some changes to the
54 database.
55
57 When used in a string context, this object will interpolate the
58 DBInstanceIdentifier.
59
61 VM::EC2 VM::EC2::Generic
62
64 Lance Kinley <lkinley@loyaltymethods.com>.
65
66 Copyright (c) 2013 Loyalty Methods, Inc.
67
68 This package and its accompanying libraries is free software; you can
69 redistribute it and/or modify it under the terms of the GPL (either
70 version 1, or at your option, any later version) or the Artistic
71 License 2.0. Refer to LICENSE for the full license text. In addition,
72 please see DISCLAIMER.txt for disclaimers of warranty.
73
74
75
76perl v5.32.0 2020-07-28 VM::EC2::DB::Instance(3)