Interface CfnBucket.RedirectAllRequestsToProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.RedirectAllRequestsToProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
@Stability(Stable)
public static interface CfnBucket.RedirectAllRequestsToProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.s3.*; RedirectAllRequestsToProperty redirectAllRequestsToProperty = RedirectAllRequestsToProperty.builder() .hostName("hostName") // the properties below are optional .protocol("protocol") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBucket.RedirectAllRequestsToProperty
static final class
An implementation forCfnBucket.RedirectAllRequestsToProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHostName
Name of the host where requests are redirected. -
getProtocol
Protocol to use when redirecting requests.The default is the protocol that is used in the original request.
-
builder
-