Class BucketWebsiteConfigurationArgs


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

      • bucket

        public com.pulumi.core.Output<java.lang.String> bucket()
        Returns:
        Name of the bucket.
      • expectedBucketOwner

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> expectedBucketOwner()
        Deprecated.
        expected_bucket_owner is deprecated. It will be removed in a future verion of the provider.
        Returns:
        Account ID of the expected bucket owner.
      • redirectAllRequestsTo

        public java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationRedirectAllRequestsToArgs>> redirectAllRequestsTo()
        Returns:
        Redirect behavior for every request to this bucket's website endpoint. See below. Conflicts with `errorDocument`, `indexDocument`, and `routingRule`.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • routingRuleDetails

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> routingRuleDetails()
        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. Use this parameter when your routing rules contain empty String values (`""`) as seen in the example above.
      • routingRules

        public java.util.Optional<com.pulumi.core.Output<java.util.List<BucketWebsiteConfigurationRoutingRuleArgs>>> routingRules()
        Returns:
        List of rules that define when a redirect is applied and the redirect behavior. See below.