@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.178Z") @Stability(value=Stable) public interface S3OriginProps extends software.amazon.jsii.JsiiSerializable, OriginProps
Example:
Bucket myBucket = new Bucket(this, "myBucket");
Distribution.Builder.create(this, "myDist")
.defaultBehavior(BehaviorOptions.builder().origin(S3Origin.Builder.create(myBucket)
.customHeaders(Map.of(
"Foo", "bar"))
.build()).build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
S3OriginProps.Builder
A builder for
S3OriginProps |
static class |
S3OriginProps.Jsii$Proxy
An implementation for
S3OriginProps |
| Modifier and Type | Method and Description |
|---|---|
static S3OriginProps.Builder |
builder() |
default IOriginAccessIdentity |
getOriginAccessIdentity()
An optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket.
|
getOriginPathgetConnectionAttempts, getConnectionTimeout, getCustomHeaders, getOriginShieldRegion@Stability(value=Stable) @Nullable default IOriginAccessIdentity getOriginAccessIdentity()
Default: - An Origin Access Identity will be created.
@Stability(value=Stable) static S3OriginProps.Builder builder()
builder in interface OriginOptionsbuilder in interface OriginPropsS3OriginProps.Builder of S3OriginPropsCopyright © 2022. All rights reserved.