Interface S3OriginProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,OriginOptions
,OriginProps
- All Known Implementing Classes:
S3OriginProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-26T00:07:34.606Z")
@Stability(Stable)
public interface S3OriginProps
extends software.amazon.jsii.JsiiSerializable, OriginProps
Properties to use to customize an S3 Origin.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; import software.amazon.awscdk.services.cloudfront.*; import software.amazon.awscdk.services.cloudfront.origins.*; OriginAccessIdentity originAccessIdentity; S3OriginProps s3OriginProps = S3OriginProps.builder() .connectionAttempts(123) .connectionTimeout(Duration.minutes(30)) .customHeaders(Map.of( "customHeadersKey", "customHeaders")) .originAccessControlId("originAccessControlId") .originAccessIdentity(originAccessIdentity) .originId("originId") .originPath("originPath") .originShieldEnabled(false) .originShieldRegion("originShieldRegion") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forS3OriginProps
static final class
An implementation forS3OriginProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic S3OriginProps.Builder
builder()
default IOriginAccessIdentity
An optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.cloudfront.OriginOptions
getConnectionAttempts, getConnectionTimeout, getCustomHeaders, getOriginAccessControlId, getOriginId, getOriginShieldEnabled, getOriginShieldRegion
Methods inherited from interface software.amazon.awscdk.services.cloudfront.OriginProps
getOriginPath
-
Method Details
-
getOriginAccessIdentity
An optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket.Default: - An Origin Access Identity will be created.
-
builder
- Returns:
- a
S3OriginProps.Builder
ofS3OriginProps
-