| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::KMS::MultiRegionConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has MultiRegionKeyType => (is => 'ro', isa => 'Str'); | ||
| 5 | has PrimaryKey => (is => 'ro', isa => 'Paws::KMS::MultiRegionKey'); | ||
| 6 | has ReplicaKeys => (is => 'ro', isa => 'ArrayRef[Paws::KMS::MultiRegionKey]'); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::KMS::MultiRegionConfiguration | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::KMS::MultiRegionConfiguration object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { MultiRegionKeyType => $value, ..., ReplicaKeys => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::KMS::MultiRegionConfiguration object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->MultiRegionKeyType | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Describes the configuration of this multi-Region CMK. This field | ||
| 39 | appears only when the CMK is a primary or replica of a multi-Region | ||
| 40 | CMK. | ||
| 41 | |||
| 42 | For more information about any listed CMK, use the DescribeKey | ||
| 43 | operation. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 MultiRegionKeyType => Str | ||
| 49 | |||
| 50 | Indicates whether the CMK is a C<PRIMARY> or C<REPLICA> key. | ||
| 51 | |||
| 52 | |||
| 53 | =head2 PrimaryKey => L<Paws::KMS::MultiRegionKey> | ||
| 54 | |||
| 55 | Displays the key ARN and Region of the primary key. This field includes | ||
| 56 | the current CMK if it is the primary key. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 ReplicaKeys => ArrayRef[L<Paws::KMS::MultiRegionKey>] | ||
| 60 | |||
| 61 | displays the key ARNs and Regions of all replica keys. This field | ||
| 62 | includes the current CMK if it is a replica key. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head1 SEE ALSO | ||
| 67 | |||
| 68 | This class forms part of L<Paws>, describing an object used in L<Paws::KMS> | ||
| 69 | |||
| 70 | =head1 BUGS and CONTRIBUTIONS | ||
| 71 | |||
| 72 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 73 | |||
| 74 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 75 | |||
| 76 | =cut | ||
| 77 |