Package com.pulumi.aws.s3
Class BucketWebsiteConfigurationV2Args
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.s3.BucketWebsiteConfigurationV2Args
-
public final class BucketWebsiteConfigurationV2Args extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BucketWebsiteConfigurationV2Args.Builder
-
Field Summary
Fields Modifier and Type Field Description static BucketWebsiteConfigurationV2Args
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
bucket()
static BucketWebsiteConfigurationV2Args.Builder
builder()
static BucketWebsiteConfigurationV2Args.Builder
builder(BucketWebsiteConfigurationV2Args defaults)
java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationV2ErrorDocumentArgs>>
errorDocument()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
expectedBucketOwner()
java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationV2IndexDocumentArgs>>
indexDocument()
java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationV2RedirectAllRequestsToArgs>>
redirectAllRequestsTo()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
routingRuleDetails()
java.util.Optional<com.pulumi.core.Output<java.util.List<BucketWebsiteConfigurationV2RoutingRuleArgs>>>
routingRules()
-
-
-
Field Detail
-
Empty
public static final BucketWebsiteConfigurationV2Args Empty
-
-
Method Detail
-
bucket
public com.pulumi.core.Output<java.lang.String> bucket()
- Returns:
- Name of the bucket.
-
errorDocument
public java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationV2ErrorDocumentArgs>> errorDocument()
- Returns:
- Name of the error document for the website. See below.
-
expectedBucketOwner
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> expectedBucketOwner()
- Returns:
- Account ID of the expected bucket owner.
-
indexDocument
public java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationV2IndexDocumentArgs>> indexDocument()
- Returns:
- Name of the index document for the website. See below.
-
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.
-
builder
public static BucketWebsiteConfigurationV2Args.Builder builder()
-
builder
public static BucketWebsiteConfigurationV2Args.Builder builder(BucketWebsiteConfigurationV2Args defaults)
-
-