Class RestApiOrigin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.OriginBase
software.amazon.awscdk.services.cloudfront.origins.RestApiOrigin
- All Implemented Interfaces:
IOrigin,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:16.475Z")
@Stability(Stable)
public class RestApiOrigin
extends OriginBase
An Origin for an API Gateway REST API.
Example:
RestApi api;
Distribution.Builder.create(this, "Distribution")
.defaultBehavior(BehaviorOptions.builder().origin(new RestApiOrigin(api)).build())
.build();
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsModifierConstructorDescriptionRestApiOrigin(RestApiBase restApi) RestApiOrigin(RestApiBase restApi, RestApiOriginProps props) protectedRestApiOrigin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedRestApiOrigin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class software.amazon.awscdk.services.cloudfront.OriginBase
bind, renderS3OriginConfig, renderVpcOriginConfig, validateResponseCompletionTimeoutWithReadTimeout, validateResponseCompletionTimeoutWithReadTimeout, validateResponseCompletionTimeoutWithReadTimeoutMethods 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
-
RestApiOrigin
protected RestApiOrigin(software.amazon.jsii.JsiiObjectRef objRef) -
RestApiOrigin
protected RestApiOrigin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
RestApiOrigin
@Stability(Stable) public RestApiOrigin(@NotNull RestApiBase restApi, @Nullable RestApiOriginProps props) - Parameters:
restApi- This parameter is required.props-
-
RestApiOrigin
- Parameters:
restApi- This parameter is required.
-
-
Method Details
-
renderCustomOriginConfig
@Stability(Stable) @Nullable protected CfnDistribution.CustomOriginConfigProperty renderCustomOriginConfig()- Overrides:
renderCustomOriginConfigin classOriginBase
-