Cors Rule Args
data class CorsRuleArgs(val allowedHeaders: Output<List<String>>, val allowedMethods: Output<List<Either<String, AllowedMethods>>>, val allowedOrigins: Output<List<String>>, val exposedHeaders: Output<List<String>>, val maxAgeInSeconds: Output<Int>) : ConvertibleToJava<CorsRuleArgs>
Specifies a CORS rule for the Blob service.
Constructors
Properties
Link copied to clipboard
Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
Link copied to clipboard
Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
Link copied to clipboard
Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
Link copied to clipboard
Required if CorsRule element is present. A list of response headers to expose to CORS clients.
Link copied to clipboard
Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.