cors

construct an aws.sdk.kotlin.services.lightsail.model.BucketCorsConfig inside the given block


Sets the cross-origin resource sharing (CORS) configuration for your bucket. If a CORS configuration exists, it is replaced with the specified configuration. For AWS CLI operations, this parameter can also be passed as a file. For more information, see Configuring cross-origin resource sharing (CORS).

CORS information is only returned in a response when you update the CORS policy.