interface ServiceConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnWebFunctionRevision.ServiceConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnWebFunctionRevision_ServiceConfigProperty |
Java | software.amazon.awscdk.services.lambda.CfnWebFunctionRevision.ServiceConfigProperty |
Python | aws_cdk.aws_lambda.CfnWebFunctionRevision.ServiceConfigProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnWebFunctionRevision » ServiceConfigProperty |
The service 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 serviceConfigProperty: lambda.CfnWebFunctionRevision.ServiceConfigProperty = {
executionRoleArn: 'executionRoleArn',
// the properties below are optional
environmentVariables: {
environmentVariablesKey: 'environmentVariables',
},
maxConcurrencyPerEnvironment: 123,
telemetryConfig: {
loggingConfig: {
applicationLogLevel: 'applicationLogLevel',
logGroup: 'logGroup',
systemLogLevel: 'systemLogLevel',
},
},
timeoutSeconds: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| execution | string | The ARN of the execution role. |
| environment | IResolvable | { [string]: string } | Environment variables for the function. |
| max | number | The maximum concurrency per environment. |
| telemetry | IResolvable | Telemetry | The telemetry configuration. |
| timeout | number | The function timeout in seconds. |
executionRoleArn
Type:
string
The ARN of the execution role.
environmentVariables?
Type:
IResolvable | { [string]: string }
(optional)
Environment variables for the function.
maxConcurrencyPerEnvironment?
Type:
number
(optional)
The maximum concurrency per environment.
telemetryConfig?
Type:
IResolvable | Telemetry
(optional)
The telemetry configuration.
timeoutSeconds?
Type:
number
(optional)
The function timeout in seconds.

.NET
Go
Java
Python
TypeScript