Class InlineCode

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.Code
software.amazon.awscdk.services.appsync.InlineCode
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:38.914Z") @Stability(Stable) public class InlineCode extends Code
AppSync function code from an inline string.

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.appsync.*;
 InlineCode inlineCode = new InlineCode("code");
 
  • 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
    InlineCode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    InlineCode(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(software.constructs.Construct _scope)
    Bind source code to an AppSync Function or resolver.

    Methods inherited from class software.amazon.awscdk.services.appsync.Code

    fromAsset, fromAsset, 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

    • InlineCode

      protected InlineCode(software.amazon.jsii.JsiiObjectRef objRef)
    • InlineCode

      protected InlineCode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • InlineCode

      @Stability(Stable) public InlineCode(@NotNull String code)
      Parameters:
      code - This parameter is required.
  • Method Details

    • bind

      @Stability(Stable) @NotNull public CodeConfig bind(@NotNull software.constructs.Construct _scope)
      Bind source code to an AppSync Function or resolver.

      Specified by:
      bind in class Code
      Parameters:
      _scope - This parameter is required.