Class ApiCorsConfigurationArgs


  • public final class ApiCorsConfigurationArgs
    extends com.pulumi.resources.ResourceArgs
    • 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.