blib/lib/Paws/S3/ServerSideEncryptionRule.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/S3/ServerSideEncryptionConfiguration.pm ↑ Summary blib/lib/Paws/S3/Stats.pm »
1 # Generated by default/object.tt
2 package Paws::S3::ServerSideEncryptionRule;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has ApplyServerSideEncryptionByDefault => (is => 'ro', isa => 'Paws::S3::ServerSideEncryptionByDefault');
5 1 has BucketKeyEnabled => (is => 'ro', isa => 'Bool');
6  
7 1 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::S3::ServerSideEncryptionRule
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::S3::ServerSideEncryptionRule object:
25  
26 $service_obj->Method(Att1 => { ApplyServerSideEncryptionByDefault => $value, ..., BucketKeyEnabled => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::S3::ServerSideEncryptionRule object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->ApplyServerSideEncryptionByDefault
34  
35 =head1 DESCRIPTION
36  
37 Specifies the default server-side encryption configuration.
38  
39 =head1 ATTRIBUTES
40  
41  
42 =head2 ApplyServerSideEncryptionByDefault => L<Paws::S3::ServerSideEncryptionByDefault>
43  
44 Specifies the default server-side encryption to apply to new objects in
45 the bucket. If a PUT Object request doesn't specify any server-side
46 encryption, this default encryption will be applied.
47  
48  
49 =head2 BucketKeyEnabled => Bool
50  
51 Specifies whether Amazon S3 should use an S3 Bucket Key with
52 server-side encryption using KMS (SSE-KMS) for new objects in the
53 bucket. Existing objects are not affected. Setting the
54 C<BucketKeyEnabled> element to C<true> causes Amazon S3 to use an S3
55 Bucket Key. By default, S3 Bucket Key is not enabled.
56  
57 For more information, see Amazon S3 Bucket Keys
58 (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) in
59 the I<Amazon S3 User Guide>.
60  
61  
62  
63 =head1 SEE ALSO
64  
65 This class forms part of L<Paws>, describing an object used in L<Paws::S3>
66  
67 =head1 BUGS and CONTRIBUTIONS
68  
69 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
70  
71 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
72  
73 =cut
74  
« blib/lib/Paws/S3/ServerSideEncryptionConfiguration.pm ↑ Summary blib/lib/Paws/S3/Stats.pm »