interface AssertionsProviderProps
Language | Type name |
---|---|
.NET | Amazon.CDK.IntegTests.Alpha.AssertionsProviderProps |
Go | github.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2#AssertionsProviderProps |
Java | software.amazon.awscdk.integtests.alpha.AssertionsProviderProps |
Python | aws_cdk.integ_tests_alpha.AssertionsProviderProps |
TypeScript (source) | @aws-cdk/integ-tests-alpha ยป AssertionsProviderProps |
Properties for defining an AssertionsProvider.
Example
// 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_logs as logs } from 'aws-cdk-lib';
const assertionsProviderProps: integ_tests_alpha.AssertionsProviderProps = {
handler: 'handler',
logRetention: logs.RetentionDays.ONE_DAY,
uuid: 'uuid',
};
Properties
Name | Type | Description |
---|---|---|
handler? | string | The handler to use for the lambda function. |
log | Retention | How long, in days, the log contents will be retained. |
uuid? | string | This determines the uniqueness of each AssertionsProvider. |
handler?
Type:
string
(optional, default: index.handler)
The handler to use for the lambda function.
logRetention?
Type:
Retention
(optional, default: no retention days specified)
How long, in days, the log contents will be retained.
uuid?
Type:
string
(optional, default: the default uuid is used)
This determines the uniqueness of each AssertionsProvider.
You should only need to provide something different here if you know that you need a separate provider