interface BuildConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnWebFunctionRevision.BuildConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnWebFunctionRevision_BuildConfigProperty |
Java | software.amazon.awscdk.services.lambda.CfnWebFunctionRevision.BuildConfigProperty |
Python | aws_cdk.aws_lambda.CfnWebFunctionRevision.BuildConfigProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnWebFunctionRevision » BuildConfigProperty |
The build configuration for the revision.
Example
// 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
| Name | Type | Description |
|---|---|---|
| code | IResolvable | Code | The code configuration for the revision. |
| runtime | IResolvable | Runtime | The runtime configuration for the revision. |
codeConfig
Type:
IResolvable | Code
The code configuration for the revision.
runtimeConfig
Type:
IResolvable | Runtime
The runtime configuration for the revision.

.NET
Go
Java
Python
TypeScript