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.

EqualsAssertionProps Struct ​

Options for an EqualsAssertion.

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';

declare const actualResult: integ_tests_alpha.ActualResult;
declare const expectedResult: integ_tests_alpha.ExpectedResult;
const equalsAssertionProps: integ_tests_alpha.EqualsAssertionProps = {
  actual: actualResult,
  expected: expectedResult,

  // the properties below are optional
  failDeployment: false,
  providerLogLevel: lambda.ApplicationLogLevel.INFO,
};

Properties ​

The actual results to compare.
expectedExpectedResultexpectedExpectedResultexpectedExpectedResultExpectedExpectedResultExpectedExpectedResultrequired#
The expected result to assert.
failDeploymentoptionalbooleanfail_deploymentoptionalboolfailDeploymentoptionalBooleanFailDeploymentoptionalboolFailDeploymentoptional*bool= false#
Set this to true if a failed assertion should result in a CloudFormation deployment failure.

This is only necessary if assertions are being executed outside of integ-runner.

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