« blib/lib/Paws/Macie2/ResourcesAffected.pm
↑ Summary
blib/lib/Paws/Macie2/S3BucketCriteriaForJob.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Macie2::S3Bucket; | ||
| 3 | use Moose; | ||
| 4 | has AllowsUnencryptedObjectUploads => (is => 'ro', isa => 'Str', request_name => 'allowsUnencryptedObjectUploads', traits => ['NameInRequest']); | ||
| 5 | has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']); | ||
| 6 | has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']); | ||
| 7 | has DefaultServerSideEncryption => (is => 'ro', isa => 'Paws::Macie2::ServerSideEncryption', request_name => 'defaultServerSideEncryption', traits => ['NameInRequest']); | ||
| 8 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']); | ||
| 9 | has Owner => (is => 'ro', isa => 'Paws::Macie2::S3BucketOwner', request_name => 'owner', traits => ['NameInRequest']); | ||
| 10 | has PublicAccess => (is => 'ro', isa => 'Paws::Macie2::BucketPublicAccess', request_name => 'publicAccess', traits => ['NameInRequest']); | ||
| 11 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Macie2::KeyValuePair]', request_name => 'tags', traits => ['NameInRequest']); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Macie2::S3Bucket | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::Macie2::S3Bucket object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { AllowsUnencryptedObjectUploads => $value, ..., Tags => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::Macie2::S3Bucket object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->AllowsUnencryptedObjectUploads | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | Provides information about the S3 bucket that a finding applies to. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 AllowsUnencryptedObjectUploads => Str | ||
| 49 | |||
| 50 | Specifies whether the bucket policy for the bucket requires server-side | ||
| 51 | encryption of objects when objects are uploaded to the bucket. Possible | ||
| 52 | values are: | ||
| 53 | |||
| 54 | =over | ||
| 55 | |||
| 56 | =item * | ||
| 57 | |||
| 58 | FALSE - The bucket policy requires server-side encryption of new | ||
| 59 | objects. PutObject requests must include the | ||
| 60 | x-amz-server-side-encryption header and the value for that header must | ||
| 61 | be AES256 or aws:kms. | ||
| 62 | |||
| 63 | =item * | ||
| 64 | |||
| 65 | TRUE - The bucket doesn't have a bucket policy or it has a bucket | ||
| 66 | policy that doesn't require server-side encryption of new objects. If a | ||
| 67 | bucket policy exists, it doesn't require PutObject requests to include | ||
| 68 | the x-amz-server-side-encryption header and it doesn't require the | ||
| 69 | value for that header to be AES256 or aws:kms. | ||
| 70 | |||
| 71 | =item * | ||
| 72 | |||
| 73 | UNKNOWN - Amazon Macie can't determine whether the bucket policy | ||
| 74 | requires server-side encryption of objects. | ||
| 75 | |||
| 76 | =back | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 Arn => Str | ||
| 81 | |||
| 82 | The Amazon Resource Name (ARN) of the bucket. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 CreatedAt => Str | ||
| 86 | |||
| 87 | The date and time, in UTC and extended ISO 8601 format, when the bucket | ||
| 88 | was created. | ||
| 89 | |||
| 90 | |||
| 91 | =head2 DefaultServerSideEncryption => L<Paws::Macie2::ServerSideEncryption> | ||
| 92 | |||
| 93 | The type of server-side encryption that's used by default to encrypt | ||
| 94 | objects in the bucket. | ||
| 95 | |||
| 96 | |||
| 97 | =head2 Name => Str | ||
| 98 | |||
| 99 | The name of the bucket. | ||
| 100 | |||
| 101 | |||
| 102 | =head2 Owner => L<Paws::Macie2::S3BucketOwner> | ||
| 103 | |||
| 104 | The display name and Amazon Web Services account ID for the user who | ||
| 105 | owns the bucket. | ||
| 106 | |||
| 107 | |||
| 108 | =head2 PublicAccess => L<Paws::Macie2::BucketPublicAccess> | ||
| 109 | |||
| 110 | The permissions settings that determine whether the bucket is publicly | ||
| 111 | accessible. | ||
| 112 | |||
| 113 | |||
| 114 | =head2 Tags => ArrayRef[L<Paws::Macie2::KeyValuePair>] | ||
| 115 | |||
| 116 | The tags that are associated with the bucket. | ||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | =head1 SEE ALSO | ||
| 121 | |||
| 122 | This class forms part of L<Paws>, describing an object used in L<Paws::Macie2> | ||
| 123 | |||
| 124 | =head1 BUGS and CONTRIBUTIONS | ||
| 125 | |||
| 126 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 127 | |||
| 128 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 129 | |||
| 130 | =cut | ||
| 131 |