# ServiceConfigProperty

The service configuration for the revision.

- Source: Generated code
- Type last changed: v2.274.0 · 20 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 serviceConfigProperty: lambda.CfnWebFunctionRevision.ServiceConfigProperty = {
  executionRoleArn: 'executionRoleArn',

  // the properties below are optional
  egressNetworkConnectorArn: 'egressNetworkConnectorArn',
  environmentVariables: {
    environmentVariablesKey: 'environmentVariables',
  },
  maxConcurrencyPerEnvironment: 123,
  telemetryConfig: {
    loggingConfig: {
      applicationLogLevel: 'applicationLogLevel',
      logGroup: 'logGroup',
      systemLogLevel: 'systemLogLevel',
    },
  },
  timeoutSeconds: 123,
};
```

## Properties

- `egressNetworkConnectorArn`: string — The versioned ARN of the network connector used for outbound network access from the revision.

- `environmentVariables`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — Environment variables for the function.

- `executionRoleArn`: string (required) — The ARN of the execution role.

- `maxConcurrencyPerEnvironment`: number — The maximum concurrency per environment.

- `telemetryConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWebFunctionRevision.TelemetryConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnWebFunctionRevision.TelemetryConfigProperty.html) — The telemetry configuration.

- `timeoutSeconds`: number — The function timeout in seconds.
