CodeConfig Struct
Configuration of the code class.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_synthetics as synthetics } from 'aws-cdk-lib';
const codeConfig: synthetics.CodeConfig = {
inlineCode: 'inlineCode',
s3Location: {
bucketName: 'bucketName',
objectKey: 'objectKey',
// the properties below are optional
objectVersion: 'objectVersion',
},
};
Properties
inlineCodeoptionalstringinline_codeoptionalstrinlineCodeoptionalStringInlineCodeoptionalstringInlineCodeoptional*string= none#Inline code (mutually exclusive with `s3Location`).