Class S3StaticWebsiteOrigin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.OriginBase
software.amazon.awscdk.services.cloudfront.origins.HttpOrigin
software.amazon.awscdk.services.cloudfront.origins.S3StaticWebsiteOrigin
- All Implemented Interfaces:
IOrigin
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:27.722Z")
@Stability(Stable)
public class S3StaticWebsiteOrigin
extends HttpOrigin
An Origin for a S3 bucket configured as a website endpoint.
Example:
Bucket myBucket = new Bucket(this, "myBucket"); Distribution.Builder.create(this, "myDist") .defaultBehavior(BehaviorOptions.builder().origin(new S3StaticWebsiteOrigin(myBucket)).build()) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.IOrigin
IOrigin.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionS3StaticWebsiteOrigin
(IBucket bucket) S3StaticWebsiteOrigin
(IBucket bucket, S3StaticWebsiteOriginProps props) protected
S3StaticWebsiteOrigin
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
S3StaticWebsiteOrigin
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.awscdk.services.cloudfront.origins.HttpOrigin
renderCustomOriginConfig
Methods inherited from class software.amazon.awscdk.services.cloudfront.OriginBase
bind, renderS3OriginConfig
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
S3StaticWebsiteOrigin
protected S3StaticWebsiteOrigin(software.amazon.jsii.JsiiObjectRef objRef) -
S3StaticWebsiteOrigin
protected S3StaticWebsiteOrigin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
S3StaticWebsiteOrigin
@Stability(Stable) public S3StaticWebsiteOrigin(@NotNull IBucket bucket, @Nullable S3StaticWebsiteOriginProps props) - Parameters:
bucket
- This parameter is required.props
-
-
S3StaticWebsiteOrigin
- Parameters:
bucket
- This parameter is required.
-