NAME

Paws::SecurityHub::AwsCorsConfiguration

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::SecurityHub::AwsCorsConfiguration object:

$service_obj->Method(Att1 => { AllowCredentials => $value, ..., MaxAge => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::SecurityHub::AwsCorsConfiguration object:

$result = $service_obj->Method(...);
$result->Att1->AllowCredentials

DESCRIPTION

Contains the cross-origin resource sharing (CORS) configuration for the API. CORS is only supported for HTTP APIs.

ATTRIBUTES

AllowCredentials => Bool

Indicates whether the CORS request includes credentials.

AllowHeaders => ArrayRef[Str|Undef]

The allowed headers for CORS requests.

AllowMethods => ArrayRef[Str|Undef]

The allowed methods for CORS requests.

AllowOrigins => ArrayRef[Str|Undef]

The allowed origins for CORS requests.

ExposeHeaders => ArrayRef[Str|Undef]

The exposed headers for CORS requests.

MaxAge => Int

The number of seconds for which the browser caches preflight request results.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::SecurityHub

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