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
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:27.662Z")
@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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.IOrigin
IOrigin.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
OriginBase
(String domainName) protected
OriginBase
(String domainName, OriginProps props) protected
OriginBase
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
OriginBase
(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.S3OriginConfigProperty
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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()
-