# CodeConfig

Result of binding `Code` into a `Function`.

- Source: [`aws-appsync/lib/code.ts`](https://github.com/aws/aws-cdk/blob/v2.273.0/packages/aws-cdk-lib/aws-appsync/lib/code.ts#L9)
- Type last changed: v2.60.0 · 12 Jan 2023

## 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

- `inlineCode`: string = code is not inline code — Inline code (mutually exclusive with `s3Location`).

- `s3Location`: string = code is not an s3 location — The location of the code in S3 (mutually exclusive with `inlineCode`.
