AWSS3CORSConfiguration

Objective-C

@interface AWSS3CORSConfiguration

Swift

class AWSS3CORSConfiguration

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

Required parameters: [CORSRules]

  • A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSS3CORSRule *> *_Nullable CORSRules;

    Swift

    var corsRules: [AWSS3CORSRule]? { get set }