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.104.0 (build e79254c)",
date="2024-11-21T06:34:02.602Z")
@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
ModifierConstructorDescriptionInlineApiDefinition
(Object definition) protected
InlineApiDefinition
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
InlineApiDefinition
(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, fromInline
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
-
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:
bind
in classApiDefinition
- Parameters:
_scope
- This parameter is required.
-