Class BucketCorsConfigurationCorsRuleArgs


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

      • allowedHeaders

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> allowedHeaders()
        Returns:
        Set of Headers that are specified in the `Access-Control-Request-Headers` header.
      • allowedMethods

        public com.pulumi.core.Output<java.util.List<java.lang.String>> allowedMethods()
        Returns:
        Set of HTTP methods that you allow the origin to execute. Valid values are `GET`, `PUT`, `HEAD`, `POST`, and `DELETE`.
      • allowedOrigins

        public com.pulumi.core.Output<java.util.List<java.lang.String>> allowedOrigins()
        Returns:
        Set of 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:
        Set of headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript `XMLHttpRequest` object).
      • id

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> id()
        Returns:
        Unique identifier for the rule. The value cannot be longer than 255 characters.
      • maxAgeSeconds

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxAgeSeconds()
        Returns:
        Time in seconds that your browser is to cache the preflight response for the specified resource.