Class BucketWebsiteConfigurationV2Args


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

      • bucket

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> expectedBucketOwner()
        Returns:
        Account ID of the expected bucket owner.
      • redirectAllRequestsTo

        public java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationV2RedirectAllRequestsToArgs>> redirectAllRequestsTo()
        Returns:
        Redirect behavior for every request to this bucket's website endpoint. See below. Conflicts with `error_document`, `index_document`, and `routing_rule`.
      • 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<BucketWebsiteConfigurationV2RoutingRuleArgs>>> routingRules()
        Returns:
        List of rules that define when a redirect is applied and the redirect behavior. See below.