@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:46:52.432Z") @Stability(value=Stable) public interface S3OriginConfig extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
S3OriginConfig.Builder
A builder for
S3OriginConfig |
static class |
S3OriginConfig.Jsii$Proxy
An implementation for
S3OriginConfig |
| Modifier and Type | Method and Description |
|---|---|
static S3OriginConfig.Builder |
builder() |
default IOriginAccessIdentity |
getOriginAccessIdentity()
The optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket.
|
default Map<String,String> |
getOriginHeaders()
Any additional headers to pass to the origin.
|
default String |
getOriginPath()
The relative path to the origin root to use for sources.
|
IBucket |
getS3BucketSource()
The source bucket to serve content from.
|
@Stability(value=Stable) @NotNull IBucket getS3BucketSource()
@Stability(value=Stable) @Nullable default IOriginAccessIdentity getOriginAccessIdentity()
Default: No Origin Access Identity which requires the S3 bucket to be public accessible
@Stability(value=Stable) @Nullable default Map<String,String> getOriginHeaders()
Default: - No additional headers are passed.
@Stability(value=Stable) @Nullable default String getOriginPath()
Default: /
@Stability(value=Stable) static S3OriginConfig.Builder builder()
S3OriginConfig.Builder of S3OriginConfigCopyright © 2021. All rights reserved.