Class BucketV2CorsRuleArgs


  • public final class BucketV2CorsRuleArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • allowedHeaders

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> allowedHeaders()
        Returns:
        List of headers allowed.
      • allowedMethods

        public com.pulumi.core.Output<java.util.List<java.lang.String>> allowedMethods()
        Returns:
        One or more HTTP methods that you allow the origin to execute. Can be `GET`, `PUT`, `POST`, `DELETE` or `HEAD`.
      • allowedOrigins

        public com.pulumi.core.Output<java.util.List<java.lang.String>> allowedOrigins()
        Returns:
        One or more origins you want customers to be able to access the bucket from.
      • exposeHeaders

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> exposeHeaders()
        Returns:
        One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript `XMLHttpRequest` object).
      • maxAgeSeconds

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxAgeSeconds()
        Returns:
        Specifies time in seconds that browser can cache the response for a preflight request.