AssertionsProviderProps

class aws_cdk.integ_tests_alpha.AssertionsProviderProps(*, handler=None, log_retention=None, uuid=None)

Bases: LambdaFunctionProviderProps

(experimental) Properties for defining an AssertionsProvider.

Parameters:
  • handler (Optional[str]) – (experimental) The handler to use for the lambda function. Default: index.handler

  • log_retention (Optional[RetentionDays]) – (experimental) How long, in days, the log contents will be retained. Default: - no retention days specified

  • uuid (Optional[str]) – (experimental) 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 Default: - the default uuid is used

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.integ_tests_alpha as integ_tests_alpha
from aws_cdk import aws_logs as logs

assertions_provider_props = integ_tests_alpha.AssertionsProviderProps(
    handler="handler",
    log_retention=logs.RetentionDays.ONE_DAY,
    uuid="uuid"
)

Attributes

handler

(experimental) The handler to use for the lambda function.

Default:

index.handler

Stability:

experimental

log_retention

(experimental) How long, in days, the log contents will be retained.

Default:
  • no retention days specified

Stability:

experimental

uuid

(experimental) 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

Default:
  • the default uuid is used

Stability:

experimental