ResponseHeadersPolicyCorsConfigArgs

data class ResponseHeadersPolicyCorsConfigArgs(val accessControlAllowCredentials: Output<Boolean>, val accessControlAllowHeaders: Output<ResponseHeadersPolicyCorsConfigAccessControlAllowHeadersArgs>, val accessControlAllowMethods: Output<ResponseHeadersPolicyCorsConfigAccessControlAllowMethodsArgs>, val accessControlAllowOrigins: Output<ResponseHeadersPolicyCorsConfigAccessControlAllowOriginsArgs>, val accessControlExposeHeaders: Output<ResponseHeadersPolicyCorsConfigAccessControlExposeHeadersArgs>? = null, val accessControlMaxAgeSec: Output<Int>? = null, val originOverride: Output<Boolean>) : ConvertibleToJava<ResponseHeadersPolicyCorsConfigArgs>

Constructors

Link copied to clipboard
constructor(accessControlAllowCredentials: Output<Boolean>, accessControlAllowHeaders: Output<ResponseHeadersPolicyCorsConfigAccessControlAllowHeadersArgs>, accessControlAllowMethods: Output<ResponseHeadersPolicyCorsConfigAccessControlAllowMethodsArgs>, accessControlAllowOrigins: Output<ResponseHeadersPolicyCorsConfigAccessControlAllowOriginsArgs>, accessControlExposeHeaders: Output<ResponseHeadersPolicyCorsConfigAccessControlExposeHeadersArgs>? = null, accessControlMaxAgeSec: Output<Int>? = null, originOverride: Output<Boolean>)

Properties

Link copied to clipboard

A Boolean value that CloudFront uses as the value for the Access-Control-Allow-Credentials HTTP response header.

Link copied to clipboard

Object that contains an attribute items that contains a list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.

Link copied to clipboard

Object that contains an attribute items that contains a list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header. Valid values: GET | POST | OPTIONS | PUT | DELETE | HEAD | ALL

Link copied to clipboard

Object that contains an attribute items that contains a list of origins that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

Link copied to clipboard

Object that contains an attribute items that contains a list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.

Link copied to clipboard
val accessControlMaxAgeSec: Output<Int>? = null

A number that CloudFront uses as the value for the Access-Control-Max-Age HTTP response header.

Link copied to clipboard
val originOverride: Output<Boolean>

A Boolean value that determines how CloudFront behaves for the HTTP response header.

Functions

Link copied to clipboard
open override fun toJava(): ResponseHeadersPolicyCorsConfigArgs