« blib/lib/Paws/AccessAnalyzer/S3BucketConfiguration.pm
↑ Summary
blib/lib/Paws/AccessAnalyzer/SecretsManagerSecretConfiguration.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AccessAnalyzer::S3PublicAccessBlockConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has IgnorePublicAcls => (is => 'ro', isa => 'Bool', request_name => 'ignorePublicAcls', traits => ['NameInRequest'], required => 1); | ||
| 5 | has RestrictPublicBuckets => (is => 'ro', isa => 'Bool', request_name => 'restrictPublicBuckets', traits => ['NameInRequest'], required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::AccessAnalyzer::S3PublicAccessBlockConfiguration | ||
| 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::AccessAnalyzer::S3PublicAccessBlockConfiguration object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { IgnorePublicAcls => $value, ..., RestrictPublicBuckets => $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::AccessAnalyzer::S3PublicAccessBlockConfiguration object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->IgnorePublicAcls | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The C<PublicAccessBlock> configuration to apply to this Amazon S3 | ||
| 38 | bucket. If the proposed configuration is for an existing Amazon S3 | ||
| 39 | bucket and the configuration is not specified, the access preview uses | ||
| 40 | the existing setting. If the proposed configuration is for a new bucket | ||
| 41 | and the configuration is not specified, the access preview uses | ||
| 42 | C<false>. If the proposed configuration is for a new access point and | ||
| 43 | the access point BPA configuration is not specified, the access preview | ||
| 44 | uses C<true>. For more information, see PublicAccessBlockConfiguration | ||
| 45 | (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-publicaccessblockconfiguration.html). | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> IgnorePublicAcls => Bool | ||
| 51 | |||
| 52 | Specifies whether Amazon S3 should ignore public ACLs for this bucket | ||
| 53 | and objects in this bucket. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> RestrictPublicBuckets => Bool | ||
| 57 | |||
| 58 | Specifies whether Amazon S3 should restrict public bucket policies for | ||
| 59 | this bucket. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head1 SEE ALSO | ||
| 64 | |||
| 65 | This class forms part of L<Paws>, describing an object used in L<Paws::AccessAnalyzer> | ||
| 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 |