@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.246Z") @Stability(value=Experimental) public class S3Origin extends software.amazon.jsii.JsiiObject implements IOrigin
If the bucket is configured for website hosting, this origin will be configured to use the bucket as an HTTP server origin and will use the bucket's configured website redirects and error handling. Otherwise, the origin is created as a bucket origin and will use CloudFront's redirect and error handling.
| Modifier and Type | Class and Description |
|---|---|
static class |
S3Origin.Builder
(experimental) A fluent builder for
S3Origin. |
software.amazon.jsii.JsiiObject.InitializationModeIOrigin.Jsii$Default, IOrigin.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
S3Origin(IBucket bucket) |
|
S3Origin(IBucket bucket,
S3OriginProps props) |
protected |
S3Origin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
S3Origin(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
OriginBindConfig |
bind(software.constructs.Construct scope,
OriginBindOptions options)
(experimental) The method called when a given Origin is added (for the first time) to a Distribution.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected S3Origin(software.amazon.jsii.JsiiObjectRef objRef)
protected S3Origin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public S3Origin(@NotNull
IBucket bucket,
@Nullable
S3OriginProps props)
bucket - This parameter is required.props - @Stability(value=Experimental)
public S3Origin(@NotNull
IBucket bucket)
bucket - This parameter is required.@Stability(value=Experimental) @NotNull public OriginBindConfig bind(@NotNull software.constructs.Construct scope, @NotNull OriginBindOptions options)
Copyright © 2021. All rights reserved.