# CfnWebFunctionRevisionProps

Properties for defining a `CfnWebFunctionRevision`.

Extends: CfnWebFunctionRevisionProps
Used as props by: CfnWebFunctionRevision

- Source: Generated code
- Type last changed: v2.273.0 · 8 Oct 2026

## 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
    egressNetworkConnectorArn: 'egressNetworkConnectorArn',
    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

- `buildConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWebFunctionRevision.BuildConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnWebFunctionRevision.BuildConfigProperty.html) (required) — The build configuration for the revision.

- `description`: string — A description of the revision.

- `functionName`: string (required) — 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.

- `kmsKeyArn`: string — The ARN of the KMS key used to encrypt the revision.

- `serviceConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWebFunctionRevision.ServiceConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnWebFunctionRevision.ServiceConfigProperty.html) (required) — The service configuration for the revision.
