CfnWebFunctionRevisionProps Struct Added in v2.273.0
Properties for defining a CfnWebFunctionRevision.
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 cfnWebFunctionRevisionProps: lambda.CfnWebFunctionRevisionProps = {
buildConfig: {
codeConfig: {
s3Object: {
bucket: 'bucket',
key: 'key',
// the properties below are optional
versionId: 'versionId',
},
},
runtimeConfig: {
runtime: 'runtime',
},
},
functionName: 'functionName',
serviceConfig: {
executionRoleArn: 'executionRoleArn',
// the properties below are optional
environmentVariables: {
environmentVariablesKey: 'environmentVariables',
},
maxConcurrencyPerEnvironment: 123,
telemetryConfig: {
loggingConfig: {
applicationLogLevel: 'applicationLogLevel',
logGroup: 'logGroup',
systemLogLevel: 'systemLogLevel',
},
},
timeoutSeconds: 123,
},
// the properties below are optional
description: 'description',
kmsKeyArn: 'kmsKeyArn',
};
Properties
buildConfigIResolvable | CfnWebFunctionRevision.BuildConfigPropertybuild_configtyping.Union[IResolvable, BuildConfigProperty]buildConfigIResolvableBuildConfigIResolvableBuildConfiginterface{}required#The build configuration for the revision.
A description of the revision.
The name of the web function this revision belongs to.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
The ARN of the KMS key used to encrypt the revision.
serviceConfigIResolvable | CfnWebFunctionRevision.ServiceConfigPropertyservice_configtyping.Union[IResolvable, ServiceConfigProperty]serviceConfigIResolvableServiceConfigIResolvableServiceConfiginterface{}required#The service configuration for the revision.