Class InlineApiDefinition
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigateway.ApiDefinition
software.amazon.awscdk.services.apigateway.InlineApiDefinition
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:44.350Z")
@Stability(Stable)
public class InlineApiDefinition
extends ApiDefinition
OpenAPI specification from an inline JSON object.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.apigateway.*; Object definition; InlineApiDefinition inlineApiDefinition = new InlineApiDefinition(definition);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionInlineApiDefinition(Object definition) protectedInlineApiDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedInlineApiDefinition(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind(software.constructs.Construct _scope) Called when the specification is initialized to allow this object to bind to the stack, add resources and have fun.Methods inherited from class software.amazon.awscdk.services.apigateway.ApiDefinition
bindAfterCreate, fromAsset, fromAsset, fromBucket, fromBucket, fromInlineMethods 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
-
InlineApiDefinition
protected InlineApiDefinition(software.amazon.jsii.JsiiObjectRef objRef) -
InlineApiDefinition
protected InlineApiDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
InlineApiDefinition
- Parameters:
definition- This parameter is required.
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public ApiDefinitionConfig bind(@NotNull software.constructs.Construct _scope) Called when the specification is initialized to allow this object to bind to the stack, add resources and have fun.- Specified by:
bindin classApiDefinition- Parameters:
_scope- This parameter is required.
-