Class GetResponseHeadersPolicyCorsConfig
- java.lang.Object
-
- com.pulumi.aws.cloudfront.outputs.GetResponseHeadersPolicyCorsConfig
-
public final class GetResponseHeadersPolicyCorsConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetResponseHeadersPolicyCorsConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
accessControlAllowCredentials()
java.util.List<GetResponseHeadersPolicyCorsConfigAccessControlAllowHeader>
accessControlAllowHeaders()
java.util.List<GetResponseHeadersPolicyCorsConfigAccessControlAllowMethod>
accessControlAllowMethods()
java.util.List<GetResponseHeadersPolicyCorsConfigAccessControlAllowOrigin>
accessControlAllowOrigins()
java.util.List<GetResponseHeadersPolicyCorsConfigAccessControlExposeHeader>
accessControlExposeHeaders()
java.lang.Integer
accessControlMaxAgeSec()
static GetResponseHeadersPolicyCorsConfig.Builder
builder()
static GetResponseHeadersPolicyCorsConfig.Builder
builder(GetResponseHeadersPolicyCorsConfig defaults)
java.lang.Boolean
originOverride()
-
-
-
Method Detail
-
accessControlAllowCredentials
public java.lang.Boolean accessControlAllowCredentials()
- Returns:
- A Boolean value that CloudFront uses as the value for the Access-Control-Allow-Credentials HTTP response header.
-
accessControlAllowHeaders
public java.util.List<GetResponseHeadersPolicyCorsConfigAccessControlAllowHeader> accessControlAllowHeaders()
- Returns:
- 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.
-
accessControlAllowMethods
public java.util.List<GetResponseHeadersPolicyCorsConfigAccessControlAllowMethod> accessControlAllowMethods()
- Returns:
- 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`
-
accessControlAllowOrigins
public java.util.List<GetResponseHeadersPolicyCorsConfigAccessControlAllowOrigin> accessControlAllowOrigins()
- Returns:
- 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.
-
accessControlExposeHeaders
public java.util.List<GetResponseHeadersPolicyCorsConfigAccessControlExposeHeader> accessControlExposeHeaders()
- Returns:
- 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.
-
accessControlMaxAgeSec
public java.lang.Integer accessControlMaxAgeSec()
- Returns:
- A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header.
-
originOverride
public java.lang.Boolean originOverride()
-
builder
public static GetResponseHeadersPolicyCorsConfig.Builder builder()
-
builder
public static GetResponseHeadersPolicyCorsConfig.Builder builder(GetResponseHeadersPolicyCorsConfig defaults)
-
-