Interface CodeConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CodeConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:02.914Z") @Stability(Stable) public interface CodeConfig extends software.amazon.jsii.JsiiSerializable
Result of binding Code into a Function.

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.*;
 CodeConfig codeConfig = CodeConfig.builder()
         .inlineCode("inlineCode")
         .s3Location("s3Location")
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CodeConfig
    static final class 
    An implementation for CodeConfig
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default String
    Inline code (mutually exclusive with s3Location).
    default String
    The location of the code in S3 (mutually exclusive with inlineCode.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getInlineCode

      @Stability(Stable) @Nullable default String getInlineCode()
      Inline code (mutually exclusive with s3Location).

      Default: - code is not inline code

    • getS3Location

      @Stability(Stable) @Nullable default String getS3Location()
      The location of the code in S3 (mutually exclusive with inlineCode.

      Default: - code is not an s3 location

    • builder

      @Stability(Stable) static CodeConfig.Builder builder()
      Returns:
      a CodeConfig.Builder of CodeConfig