Package com.pulumi.aws.s3.inputs
Class BucketWebsiteConfigurationState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.s3.inputs.BucketWebsiteConfigurationState
-
public final class BucketWebsiteConfigurationState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBucketWebsiteConfigurationState.Builder
-
Field Summary
Fields Modifier and Type Field Description static BucketWebsiteConfigurationStateEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>bucket()static BucketWebsiteConfigurationState.Builderbuilder()static BucketWebsiteConfigurationState.Builderbuilder(BucketWebsiteConfigurationState defaults)java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationErrorDocumentArgs>>errorDocument()java.util.Optional<com.pulumi.core.Output<java.lang.String>>expectedBucketOwner()Deprecated.expected_bucket_owner is deprecated.java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationIndexDocumentArgs>>indexDocument()java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationRedirectAllRequestsToArgs>>redirectAllRequestsTo()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.lang.String>>routingRuleDetails()java.util.Optional<com.pulumi.core.Output<java.util.List<BucketWebsiteConfigurationRoutingRuleArgs>>>routingRules()java.util.Optional<com.pulumi.core.Output<java.lang.String>>websiteDomain()java.util.Optional<com.pulumi.core.Output<java.lang.String>>websiteEndpoint()
-
-
-
Field Detail
-
Empty
public static final BucketWebsiteConfigurationState Empty
-
-
Method Detail
-
bucket
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> bucket()
- Returns:
- Name of the bucket.
-
errorDocument
public java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationErrorDocumentArgs>> errorDocument()
- Returns:
- Name of the error document for the website. See below.
-
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.
-
indexDocument
public java.util.Optional<com.pulumi.core.Output<BucketWebsiteConfigurationIndexDocumentArgs>> indexDocument()
- Returns:
- Name of the index document for the website. See below.
-
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.
-
websiteDomain
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> websiteDomain()
- Returns:
- Domain of the website endpoint. This is used to create Route 53 alias records.
-
websiteEndpoint
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> websiteEndpoint()
- Returns:
- Website endpoint.
-
builder
public static BucketWebsiteConfigurationState.Builder builder()
-
builder
public static BucketWebsiteConfigurationState.Builder builder(BucketWebsiteConfigurationState defaults)
-
-