Class BucketV2WebsiteArgs


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

      • errorDocument

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> errorDocument()
        Returns:
        Absolute path to the document to return in case of a 4XX error.
      • indexDocument

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> indexDocument()
        Returns:
        Amazon S3 returns this index document when requests are made to the root domain or any of the subfolders.
      • redirectAllRequestsTo

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> redirectAllRequestsTo()
        Returns:
        Hostname to redirect all website requests for this bucket to. Hostname can optionally be prefixed with a protocol (`http://` or `https://`) to use when redirecting requests. The default is the protocol that is used in the original request.
      • routingRules

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> routingRules()
        Returns:
        JSON array containing [routing rules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html) describing redirect behavior and when redirects are applied.