aws-cdk-lib.aws_appsync.CodeConfig

interface CodeConfig

LanguageType name
.NETAmazon.CDK.AWS.AppSync.CodeConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappsync#CodeConfig
Javasoftware.amazon.awscdk.services.appsync.CodeConfig
Pythonaws_cdk.aws_appsync.CodeConfig
TypeScript (source)aws-cdk-lib » aws_appsync » CodeConfig

Obtainable from AssetCode.bind(), Code.bind(), InlineCode.bind()

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 { aws_appsync as appsync } from 'aws-cdk-lib';
const codeConfig: appsync.CodeConfig = {
  inlineCode: 'inlineCode',
  s3Location: 's3Location',
};

Properties

NameTypeDescription
inlineCode?stringInline code (mutually exclusive with s3Location).
s3Location?stringThe location of the code in S3 (mutually exclusive with inlineCode.

inlineCode?

Type: string (optional, default: code is not inline code)

Inline code (mutually exclusive with s3Location).


s3Location?

Type: string (optional, default: code is not an s3 location)

The location of the code in S3 (mutually exclusive with inlineCode.