Package com.pulumi.aws.cloudfront.inputs
Class ResponseHeadersPolicyCorsConfigArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.cloudfront.inputs.ResponseHeadersPolicyCorsConfigArgs
-
public final class ResponseHeadersPolicyCorsConfigArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResponseHeadersPolicyCorsConfigArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ResponseHeadersPolicyCorsConfigArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.Boolean>
accessControlAllowCredentials()
com.pulumi.core.Output<ResponseHeadersPolicyCorsConfigAccessControlAllowHeadersArgs>
accessControlAllowHeaders()
com.pulumi.core.Output<ResponseHeadersPolicyCorsConfigAccessControlAllowMethodsArgs>
accessControlAllowMethods()
com.pulumi.core.Output<ResponseHeadersPolicyCorsConfigAccessControlAllowOriginsArgs>
accessControlAllowOrigins()
java.util.Optional<com.pulumi.core.Output<ResponseHeadersPolicyCorsConfigAccessControlExposeHeadersArgs>>
accessControlExposeHeaders()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
accessControlMaxAgeSec()
static ResponseHeadersPolicyCorsConfigArgs.Builder
builder()
static ResponseHeadersPolicyCorsConfigArgs.Builder
builder(ResponseHeadersPolicyCorsConfigArgs defaults)
com.pulumi.core.Output<java.lang.Boolean>
originOverride()
-
-
-
Field Detail
-
Empty
public static final ResponseHeadersPolicyCorsConfigArgs Empty
-
-
Method Detail
-
accessControlAllowCredentials
public com.pulumi.core.Output<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 com.pulumi.core.Output<ResponseHeadersPolicyCorsConfigAccessControlAllowHeadersArgs> 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 com.pulumi.core.Output<ResponseHeadersPolicyCorsConfigAccessControlAllowMethodsArgs> 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 com.pulumi.core.Output<ResponseHeadersPolicyCorsConfigAccessControlAllowOriginsArgs> 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.Optional<com.pulumi.core.Output<ResponseHeadersPolicyCorsConfigAccessControlExposeHeadersArgs>> 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.util.Optional<com.pulumi.core.Output<java.lang.Integer>> accessControlMaxAgeSec()
- Returns:
- A number that CloudFront uses as the value for the `Access-Control-Max-Age` HTTP response header.
-
originOverride
public com.pulumi.core.Output<java.lang.Boolean> originOverride()
- Returns:
- A Boolean value that determines how CloudFront behaves for the HTTP response header.
-
builder
public static ResponseHeadersPolicyCorsConfigArgs.Builder builder()
-
builder
public static ResponseHeadersPolicyCorsConfigArgs.Builder builder(ResponseHeadersPolicyCorsConfigArgs defaults)
-
-