import * as core from "@terrascript/core"; export interface CorsRuleArgs extends core.SchemaArgs { allowedHeaders?: core.Array | core.ArrayOut; allowedMethods: core.Array | core.ArrayOut; allowedOrigins: core.Array | core.ArrayOut; exposeHeaders?: core.Array | core.ArrayOut; id?: string | core.StringOut; maxAgeSeconds?: number | core.NumberOut; } export declare class CorsRule extends core.Schema { allowedHeaders?: core.Array | core.ArrayOut; allowedMethods: core.Array | core.ArrayOut; allowedOrigins: core.Array | core.ArrayOut; exposeHeaders?: core.Array | core.ArrayOut; id?: string | core.StringOut; maxAgeSeconds?: number | core.NumberOut; } export interface BucketCorsConfigurationArgs extends core.ResourceArgs { /** * (Required, Forces new resource) The name of the bucket. */ bucket: string | core.StringOut; /** * (Required) Set of origins and methods (cross-origin access that you want to allow) [documented below * ](#cors_rule). You can configure up to 100 rules. */ corsRule: core.Array | core.ArrayOut; /** * (Optional, Forces new resource) The account ID of the expected bucket owner. */ expectedBucketOwner?: string | core.StringOut; } export declare class BucketCorsConfiguration extends core.Resource { /** * (Required, Forces new resource) The name of the bucket. */ bucket: string | core.StringOut; /** * (Required) Set of origins and methods (cross-origin access that you want to allow) [documented below * ](#cors_rule). You can configure up to 100 rules. */ corsRule: core.Array | core.ArrayOut; /** * (Optional, Forces new resource) The account ID of the expected bucket owner. */ expectedBucketOwner?: string | core.StringOut; /** * (Optional) Unique identifier for the rule. The value cannot be longer than 255 characters. */ id: string | core.StringOut; constructor(name: string, args?: BucketCorsConfigurationArgs); getNamespace(): string; } //# sourceMappingURL=bucket_cors_configuration.d.ts.map