Interface CodeConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CodeConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:05.149Z")
@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 ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCodeConfigstatic final classAn implementation forCodeConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic CodeConfig.Builderbuilder()default StringInline code (mutually exclusive withs3Location).default StringThe location of the code in S3 (mutually exclusive withinlineCode.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInlineCode
Inline code (mutually exclusive withs3Location).Default: - code is not inline code
-
getS3Location
The location of the code in S3 (mutually exclusive withinlineCode.Default: - code is not an s3 location
-
builder
- Returns:
- a
CodeConfig.BuilderofCodeConfig
-