Class OriginBase
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.OriginBase
- All Implemented Interfaces:
IOrigin,software.amazon.jsii.JsiiSerializable
- Direct Known Subclasses:
FunctionUrlOrigin,HttpOrigin,RestApiOrigin,S3BucketOrigin,VpcOrigin
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:16.245Z")
@Stability(Stable)
public abstract class OriginBase
extends software.amazon.jsii.JsiiObject
implements IOrigin
Represents a distribution origin, that describes the Amazon S3 bucket, HTTP server (for example, a web server), Amazon MediaStore, or other server from which CloudFront gets your files.
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.IOrigin
IOrigin.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOriginBase(String domainName) protectedOriginBase(String domainName, OriginProps props) protectedOriginBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedOriginBase(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind(software.constructs.Construct scope, OriginBindOptions options) Binds the origin to the associated Distribution.protected CfnDistribution.S3OriginConfigPropertyprotected CfnDistribution.VpcOriginConfigPropertyprotected voidValidates that responseCompletionTimeout is greater than or equal to readTimeout when both are specified.protected voidvalidateResponseCompletionTimeoutWithReadTimeout(Duration responseCompletionTimeout) Validates that responseCompletionTimeout is greater than or equal to readTimeout when both are specified.protected voidvalidateResponseCompletionTimeoutWithReadTimeout(Duration responseCompletionTimeout, Duration readTimeout) Validates that responseCompletionTimeout is greater than or equal to readTimeout when both are specified.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
OriginBase
protected OriginBase(software.amazon.jsii.JsiiObjectRef objRef) -
OriginBase
protected OriginBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
OriginBase
- Parameters:
domainName- This parameter is required.props-
-
OriginBase
- Parameters:
domainName- This parameter is required.
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public OriginBindConfig bind(@NotNull software.constructs.Construct scope, @NotNull OriginBindOptions options) Binds the origin to the associated Distribution.Can be used to grant permissions, create dependent resources, etc.
-
renderCustomOriginConfig
@Stability(Stable) @Nullable protected CfnDistribution.CustomOriginConfigProperty renderCustomOriginConfig() -
renderS3OriginConfig
@Stability(Stable) @Nullable protected CfnDistribution.S3OriginConfigProperty renderS3OriginConfig() -
renderVpcOriginConfig
@Stability(Stable) @Nullable protected CfnDistribution.VpcOriginConfigProperty renderVpcOriginConfig() -
validateResponseCompletionTimeoutWithReadTimeout
@Stability(Stable) protected void validateResponseCompletionTimeoutWithReadTimeout(@Nullable Duration responseCompletionTimeout, @Nullable Duration readTimeout) Validates that responseCompletionTimeout is greater than or equal to readTimeout when both are specified.This method should be called by subclasses that support readTimeout.
- Parameters:
responseCompletionTimeout-readTimeout-
-
validateResponseCompletionTimeoutWithReadTimeout
@Stability(Stable) protected void validateResponseCompletionTimeoutWithReadTimeout(@Nullable Duration responseCompletionTimeout) Validates that responseCompletionTimeout is greater than or equal to readTimeout when both are specified.This method should be called by subclasses that support readTimeout.
- Parameters:
responseCompletionTimeout-
-
validateResponseCompletionTimeoutWithReadTimeout
@Stability(Stable) protected void validateResponseCompletionTimeoutWithReadTimeout()Validates that responseCompletionTimeout is greater than or equal to readTimeout when both are specified.This method should be called by subclasses that support readTimeout.
-