# IntegManifest

Definitions for the integration testing manifest.

- Source: [`node_modules/@aws-cdk/cloud-assembly-schema/lib/integ-tests/schema.d.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/node_modules/@aws-cdk/cloud-assembly-schema/lib/integ-tests/schema.d.ts#L5)
- Type last changed: v2.23.0 · 4 May 2022

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cloud_assembly_schema } from 'aws-cdk-lib';
const integManifest: cloud_assembly_schema.IntegManifest = {
  testCases: {
    testCasesKey: {
      stacks: ['stacks'],

      // the properties below are optional
      allowDeleteFailures: false,
      allowDestroy: ['allowDestroy'],
      assertionStack: 'assertionStack',
      assertionStackName: 'assertionStackName',
      cdkCommandOptions: {
        deploy: {
          args: {
            all: false,
            app: 'app',
            assetMetadata: false,
            caBundlePath: 'caBundlePath',
            changeSetName: 'changeSetName',
            ci: false,
            color: false,
            concurrency: 123,
            context: {
              contextKey: 'context',
            },
            debug: false,
            ec2Creds: false,
            exclusively: false,
            execute: false,
            force: false,
            ignoreErrors: false,
            json: false,
            lookups: false,
            notices: false,
            notificationArns: ['notificationArns'],
            output: 'output',
            outputsFile: 'outputsFile',
            parameters: {
              parametersKey: 'parameters',
            },
            pathMetadata: false,
            profile: 'profile',
            proxy: 'proxy',
            requireApproval: cloud_assembly_schema.RequireApproval.NEVER,
            reuseAssets: ['reuseAssets'],
            roleArn: 'roleArn',
            rollback: false,
            stacks: ['stacks'],
            staging: false,
            strict: false,
            toolkitStackName: 'toolkitStackName',
            trace: false,
            usePreviousParameters: false,
            verbose: false,
            versionReporting: false,
          },
          enabled: false,
          expectedMessage: 'expectedMessage',
          expectError: false,
        },
        destroy: {
          args: {
            all: false,
            app: 'app',
            assetMetadata: false,
            caBundlePath: 'caBundlePath',
            color: false,
            context: {
              contextKey: 'context',
            },
            debug: false,
            ec2Creds: false,
            exclusively: false,
            force: false,
            ignoreErrors: false,
            json: false,
            lookups: false,
            notices: false,
            output: 'output',
            pathMetadata: false,
            profile: 'profile',
            proxy: 'proxy',
            roleArn: 'roleArn',
            stacks: ['stacks'],
            staging: false,
            strict: false,
            trace: false,
            verbose: false,
            versionReporting: false,
          },
          enabled: false,
          expectedMessage: 'expectedMessage',
          expectError: false,
        },
      },
      diffAssets: false,
      hooks: {
        postDeploy: ['postDeploy'],
        postDestroy: ['postDestroy'],
        preDeploy: ['preDeploy'],
        preDestroy: ['preDestroy'],
      },
      regions: ['regions'],
      stackUpdateWorkflow: false,
    },
  },
  version: 'version',

  // the properties below are optional
  enableLookups: false,
  synthContext: {
    synthContextKey: 'synthContext',
  },
};
```

## Properties

- `enableLookups`: boolean = false — Enable lookups for this test.

  If lookups are enabled
  then `stackUpdateWorkflow` must be set to false.
  Lookups should only be enabled when you are explicitly testing
  lookups.

- `synthContext`: { [key: string]: string } — Additional context to use when performing a synth.

  **Default:** no additional context

  Any context provided here will override
  any default context

- `testCases`: { [key: string]: [TestCase](/cdk/api/v2/docs/aws-cdk-lib.cloud_assembly_schema.TestCase.html) } (required) — test cases.

- `version`: string (required) — Version of the manifest.
