Interface IntegManifest

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IntegManifest.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.695Z") @Stability(Stable) public interface IntegManifest extends software.amazon.jsii.JsiiSerializable
Definitions for the integration testing manifest.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cloudassembly.schema.*;
 IntegManifest integManifest = IntegManifest.builder()
         .testCases(Map.of(
                 "testCasesKey", TestCase.builder()
                         .stacks(List.of("stacks"))
                         // the properties below are optional
                         .allowDestroy(List.of("allowDestroy"))
                         .assertionStack("assertionStack")
                         .cdkCommandOptions(CdkCommands.builder()
                                 .deploy(DeployCommand.builder()
                                         .args(DeployOptions.builder()
                                                 .all(false)
                                                 .app("app")
                                                 .assetMetadata(false)
                                                 .caBundlePath("caBundlePath")
                                                 .changeSetName("changeSetName")
                                                 .ci(false)
                                                 .color(false)
                                                 .context(Map.of(
                                                         "contextKey", "context"))
                                                 .debug(false)
                                                 .ec2Creds(false)
                                                 .exclusively(false)
                                                 .execute(false)
                                                 .force(false)
                                                 .ignoreErrors(false)
                                                 .json(false)
                                                 .lookups(false)
                                                 .notices(false)
                                                 .notificationArns(List.of("notificationArns"))
                                                 .output("output")
                                                 .outputsFile("outputsFile")
                                                 .parameters(Map.of(
                                                         "parametersKey", "parameters"))
                                                 .pathMetadata(false)
                                                 .profile("profile")
                                                 .proxy("proxy")
                                                 .requireApproval(RequireApproval.NEVER)
                                                 .reuseAssets(List.of("reuseAssets"))
                                                 .roleArn("roleArn")
                                                 .rollback(false)
                                                 .stacks(List.of("stacks"))
                                                 .staging(false)
                                                 .strict(false)
                                                 .toolkitStackName("toolkitStackName")
                                                 .trace(false)
                                                 .usePreviousParameters(false)
                                                 .verbose(false)
                                                 .versionReporting(false)
                                                 .build())
                                         .enabled(false)
                                         .expectedMessage("expectedMessage")
                                         .expectError(false)
                                         .build())
                                 .destroy(DestroyCommand.builder()
                                         .args(DestroyOptions.builder()
                                                 .all(false)
                                                 .app("app")
                                                 .assetMetadata(false)
                                                 .caBundlePath("caBundlePath")
                                                 .color(false)
                                                 .context(Map.of(
                                                         "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(List.of("stacks"))
                                                 .staging(false)
                                                 .strict(false)
                                                 .trace(false)
                                                 .verbose(false)
                                                 .versionReporting(false)
                                                 .build())
                                         .enabled(false)
                                         .expectedMessage("expectedMessage")
                                         .expectError(false)
                                         .build())
                                 .build())
                         .diffAssets(false)
                         .hooks(Hooks.builder()
                                 .postDeploy(List.of("postDeploy"))
                                 .postDestroy(List.of("postDestroy"))
                                 .preDeploy(List.of("preDeploy"))
                                 .preDestroy(List.of("preDestroy"))
                                 .build())
                         .regions(List.of("regions"))
                         .stackUpdateWorkflow(false)
                         .build()))
         .version("version")
         // the properties below are optional
         .enableLookups(false)
         .synthContext(Map.of(
                 "synthContextKey", "synthContext"))
         .build();
 
  • Method Details

    • getTestCases

      @Stability(Stable) @NotNull Map<String,TestCase> getTestCases()
      test cases.
    • getVersion

      @Stability(Stable) @NotNull String getVersion()
      Version of the manifest.
    • getEnableLookups

      @Stability(Stable) @Nullable default Boolean getEnableLookups()
      Enable lookups for this test.

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

      Default: false

    • getSynthContext

      @Stability(Stable) @Nullable default Map<String,String> getSynthContext()
      Additional context to use when performing a synth.

      Any context provided here will override any default context

      Default: - no additional context

    • builder

      @Stability(Stable) static IntegManifest.Builder builder()
      Returns:
      a IntegManifest.Builder of IntegManifest