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.104.0 (build e79254c)",
date="2024-12-17T21:37:27.716Z")
@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 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
ModifierConstructorDescriptionRestApiOrigin
(RestApiBase restApi) RestApiOrigin
(RestApiBase restApi, RestApiOriginProps props) protected
RestApiOrigin
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
RestApiOrigin
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class software.amazon.awscdk.services.cloudfront.OriginBase
bind, renderS3OriginConfig
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
-
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:
renderCustomOriginConfig
in classOriginBase
-