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.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.974Z") @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

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    InlineApiDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    InlineApiDefinition(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(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

      @Stability(Stable) public InlineApiDefinition(@NotNull Object definition)
      Parameters:
      definition - This parameter is required.
  • Method Details

    • bind

      @Stability(Stable) @NotNull public ApiDefinitionConfig bind(@NotNull 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 class ApiDefinition
      Parameters:
      _scope - This parameter is required.