Skip to content
v2.275.0

Experimental

@aws-cdk/integ-tests-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

LambdaFunctionProviderProps Struct ​

Properties for a lambda function provider.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as integ_tests_alpha from '@aws-cdk/integ-tests-alpha';
import { aws_lambda as lambda } from 'aws-cdk-lib';
import { aws_logs as logs } from 'aws-cdk-lib';
const lambdaFunctionProviderProps: integ_tests_alpha.LambdaFunctionProviderProps = {
  handler: 'handler',
  logRetention: logs.RetentionDays.ONE_DAY,
  providerLogLevel: lambda.ApplicationLogLevel.INFO,
};

Properties ​

handleroptionalstringhandleroptionalstrhandleroptionalStringHandleroptionalstringHandleroptional*string= index.handler#
The handler to use for the lambda function.
logRetentionoptionalRetentionDayslog_retentionoptionalRetentionDayslogRetentionoptionalRetentionDaysLogRetentionoptionalRetentionDaysLogRetentionoptionalRetentionDays#
How long, in days, the log contents will be retained.

Default: no retention days specified

providerLogLeveloptionalApplicationLogLevelprovider_log_leveloptionalApplicationLogLevelproviderLogLeveloptionalApplicationLogLevelProviderLogLeveloptionalApplicationLogLevelProviderLogLeveloptionalApplicationLogLevel= ApplicationLogLevel.FATAL#
The log level of the provider lambda function.