CodeConfig Struct
Result of binding Code into a Function.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const codeConfig: appsync.CodeConfig = {
inlineCode: 'inlineCode',
s3Location: 's3Location',
};
Properties
inlineCodestringinline_codestrinlineCodeStringInlineCodestringInlineCode*string= code is not inline code#Inline code (mutually exclusive with `s3Location`).
s3Locationstrings3_locationstrs3LocationStringS3LocationstringS3Location*string= code is not an s3 location#The location of the code in S3 (mutually exclusive with `inlineCode`.