BuildConfigProperty Struct
The build configuration for the revision.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const buildConfigProperty: lambda.CfnWebFunctionRevision.BuildConfigProperty = {
codeConfig: {
s3Object: {
bucket: 'bucket',
key: 'key',
// the properties below are optional
versionId: 'versionId',
},
},
runtimeConfig: {
runtime: 'runtime',
},
};
Properties
codeConfigIResolvable | CfnWebFunctionRevision.CodeConfigPropertycode_configtyping.Union[IResolvable, CodeConfigProperty]codeConfigIResolvableCodeConfigIResolvableCodeConfiginterface{}required#The code configuration for the revision.
runtimeConfigIResolvable | CfnWebFunctionRevision.RuntimeConfigPropertyruntime_configtyping.Union[IResolvable, RuntimeConfigProperty]runtimeConfigIResolvableRuntimeConfigIResolvableRuntimeConfiginterface{}required#The runtime configuration for the revision.