lean-s3
    Preparing search index...

    Type Alias BucketCorsRule

    type BucketCorsRule = {
        allowedHeaders?: readonly string[];
        allowedMethods: readonly HttpMethod[];
        allowedOrigins: readonly string[];
        exposeHeaders?: readonly string[];
        id?: string;
        maxAgeSeconds?: number;
    }
    Index

    Properties

    allowedHeaders?: readonly string[]

    Headers that are specified in the Access-Control-Request-Headers header. These headers are allowed in a preflight OPTIONS request.

    allowedMethods: readonly HttpMethod[]
    allowedOrigins: readonly string[]

    One or more origins you want customers to be able to access the bucket from.

    exposeHeaders?: readonly string[]

    One or more headers in the response that you want customers to be able to access from their applications.

    id?: string

    Unique identifier for the rule. The value cannot be longer than 255 characters.

    maxAgeSeconds?: number

    The time in seconds that your browser is to cache the preflight response for the specified resource.