Experimental
@aws-cdk/integ-tests-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AssertionsProviderProps Struct
Properties for defining an AssertionsProvider.
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 assertionsProviderProps: integ_tests_alpha.AssertionsProviderProps = {
handler: 'handler',
logRetention: logs.RetentionDays.ONE_DAY,
providerLogLevel: lambda.ApplicationLogLevel.INFO,
uuid: 'uuid',
};
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.
This determines the uniqueness of each AssertionsProvider.
Default: the default uuid is used
You should only need to provide something different here if you know that you need a separate provider