NAME
Paws::S3::CORSConfiguration
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::S3::CORSConfiguration object:
$service_obj->Method(Att1 => { CORSRules => $value, ..., CORSRules => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::S3::CORSConfiguration object:
$result = $service_obj->Method(...);
$result->Att1->CORSRules
DESCRIPTION
Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing (https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in the Amazon S3 User Guide.
ATTRIBUTES
REQUIRED CORSRules => ArrayRef[Paws::S3::CORSRule]
A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::S3
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues