1package VM::EC2::DB::Option::Group::Membership;
2
3=head1 NAME
4
5VM::EC2::DB::Option::Group::Membership - An RDS Database Option Group Membership
6
7=head1 SYNOPSIS
8
9 use VM::EC2;
10
11 $ec2 = VM::EC2->new(...);
12 ($db) = $ec2->describe_db_instances(-db_instance_identifier => 'mydb');
13 print $_,"\n" foreach $db->OptionGroupMemberships;
14
15=head1 DESCRIPTION
16
17This object represents and Option Group Membership.
18
19=head1 STRING OVERLOADING
20
21In string context, the object returns the Option Group Name.
22
23=head1 SEE ALSO
24
25L<VM::EC2>
26L<VM::EC2::Generic>
27L<VM::EC2::DB::Instance>
28
29=head1 AUTHOR
30
31Lance Kinley E<lt>lkinley@loyaltymethods.comE<gt>.
32
33Copyright (c) 2013 Loyalty Methods, Inc.
34
35This package and its accompanying libraries is free software; you can
36redistribute it and/or modify it under the terms of the GPL (either
37version 1, or at your option, any later version) or the Artistic
38License 2.0.  Refer to LICENSE for the full license text. In addition,
39please see DISCLAIMER.txt for disclaimers of warranty.
40
41=cut
42
43use strict;
44use base 'VM::EC2::Generic';
45
46
47use overload '""' => sub { shift->OptionGroupName },
48    fallback => 1;
49
50sub valid_fields {
51    my $self = shift;
52    return qw(OptionGroupName Status);
53}
54
551;
56