blib/lib/Paws/Macie2/BucketServerSideEncryption.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Macie2::BucketServerSideEncryption;
3 use Moose;
4 has KmsMasterKeyId => (is => 'ro', isa => 'Str', request_name => 'kmsMasterKeyId', traits => ['NameInRequest']);
5 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::Macie2::BucketServerSideEncryption
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::Macie2::BucketServerSideEncryption object:
25  
26 $service_obj->Method(Att1 => { KmsMasterKeyId => $value, ..., Type => $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::Macie2::BucketServerSideEncryption object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->KmsMasterKeyId
34  
35 =head1 DESCRIPTION
36  
37 Provides information about the default server-side encryption settings
38 for an S3 bucket. For detailed information about these settings, see
39 Setting default server-side encryption behavior for Amazon S3 buckets
40 (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html)
41 in the I<Amazon Simple Storage Service User Guide>.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 KmsMasterKeyId => Str
47  
48 The Amazon Resource Name (ARN) or unique identifier (key ID) for the
49 Key Management Service (KMS) customer master key (CMK) that's used by
50 default to encrypt objects that are added to the bucket. This value is
51 null if the bucket uses an Amazon S3 managed key to encrypt new objects
52 or the bucket doesn't encrypt new objects by default.
53  
54  
55 =head2 Type => Str
56  
57 The type of server-side encryption that's used by default when storing
58 new objects in the bucket. Possible values are:
59  
60 =over
61  
62 =item *
63  
64 AES256 - New objects are encrypted with an Amazon S3 managed key and
65 use Amazon S3 managed encryption (SSE-S3).
66  
67 =item *
68  
69 aws:kms - New objects are encrypted with an KMS CMK, specified by the
70 kmsMasterKeyId property, and use Amazon Web Services managed KMS
71 encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS).
72  
73 =item *
74  
75 NONE - New objects aren't encrypted by default. Default encryption is
76 disabled for the bucket.
77  
78 =back
79  
80  
81  
82  
83 =head1 SEE ALSO
84  
85 This class forms part of L<Paws>, describing an object used in L<Paws::Macie2>
86  
87 =head1 BUGS and CONTRIBUTIONS
88  
89 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
90  
91 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
92  
93 =cut
94