AssertionsProviderProps

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

Bases: LambdaFunctionProviderProps

(experimental) Properties for defining an AssertionsProvider.

Parameters:
  • provider_log_level (Optional[ApplicationLogLevel]) – (experimental) The log level of the provider lambda function. Default: ApplicationLogLevel.FATAL

  • 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_lambda as lambda_
from aws_cdk import aws_logs as logs

assertions_provider_props = integ_tests_alpha.AssertionsProviderProps(
    handler="handler",
    log_retention=logs.RetentionDays.ONE_DAY,
    provider_log_level=lambda_.ApplicationLogLevel.INFO,
    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

provider_log_level

(experimental) The log level of the provider lambda function.

Default:

ApplicationLogLevel.FATAL

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