Class ApiCorsConfigurationArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.apigatewayv2.inputs.ApiCorsConfigurationArgs
-
public final class ApiCorsConfigurationArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApiCorsConfigurationArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ApiCorsConfigurationArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
allowCredentials()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
allowHeaders()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
allowMethods()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
allowOrigins()
static ApiCorsConfigurationArgs.Builder
builder()
static ApiCorsConfigurationArgs.Builder
builder(ApiCorsConfigurationArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
exposeHeaders()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
maxAge()
-
-
-
Field Detail
-
Empty
public static final ApiCorsConfigurationArgs Empty
-
-
Method Detail
-
allowCredentials
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> allowCredentials()
- Returns:
- Whether credentials are included in the CORS request.
-
allowHeaders
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> allowHeaders()
- Returns:
- Set of allowed HTTP headers.
-
allowMethods
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> allowMethods()
- Returns:
- Set of allowed HTTP methods.
-
allowOrigins
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> allowOrigins()
- Returns:
- Set of allowed origins.
-
exposeHeaders
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> exposeHeaders()
- Returns:
- Set of exposed HTTP headers.
-
maxAge
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxAge()
- Returns:
- Number of seconds that the browser should cache preflight request results.
-
builder
public static ApiCorsConfigurationArgs.Builder builder()
-
builder
public static ApiCorsConfigurationArgs.Builder builder(ApiCorsConfigurationArgs defaults)
-
-