Class IntegTestProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.integtests.alpha.IntegTestProps.Jsii$Proxy
All Implemented Interfaces:
TestOptions, IntegTestProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
IntegTestProps

@Stability(Experimental) @Internal public static final class IntegTestProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IntegTestProps
An implementation for IntegTestProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.integtests.alpha.IntegTestProps

    IntegTestProps.Builder, IntegTestProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the IntegTestProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final List<String>
    List of CloudFormation resource types in this stack that can be destroyed as part of an update without failing the test.
    final Stack
    (experimental) Specify a stack to use for assertions.
    Additional options to use for each CDK command.
    final Boolean
    Whether or not to include asset hashes in the diff Asset hashes can introduces a lot of unneccessary noise into tests, but there are some cases where asset hashes should be included.
    final Boolean
    (experimental) Enable lookups for this test.
    final Hooks
    Additional commands to run at predefined points in the test workflow.
    final List<String>
    Limit deployment to these regions.
    final Boolean
    Run update workflow on this test case This should only be set to false to test scenarios that are not possible to test as part of the update workflow.
    final List<Stack>
    (experimental) List of test cases that make up this test.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(IntegTestProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the IntegTestProps.Builder.
  • Method Details

    • getTestCases

      public final List<Stack> getTestCases()
      Description copied from interface: IntegTestProps
      (experimental) List of test cases that make up this test.
      Specified by:
      getTestCases in interface IntegTestProps
    • getAssertionStack

      public final Stack getAssertionStack()
      Description copied from interface: IntegTestProps
      (experimental) Specify a stack to use for assertions.

      Default: - a stack is created for you

      Specified by:
      getAssertionStack in interface IntegTestProps
    • getEnableLookups

      public final Boolean getEnableLookups()
      Description copied from interface: IntegTestProps
      (experimental) 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.

      Default: false

      Specified by:
      getEnableLookups in interface IntegTestProps
    • getAllowDestroy

      public final List<String> getAllowDestroy()
      Description copied from interface: TestOptions
      List of CloudFormation resource types in this stack that can be destroyed as part of an update without failing the test.

      This list should only include resources that for this specific integration test we are sure will not cause errors or an outage if destroyed. For example, maybe we know that a new resource will be created first before the old resource is destroyed which prevents any outage.

      e.g. ['AWS::IAM::Role']

      Default: - do not allow destruction of any resources on update

      Specified by:
      getAllowDestroy in interface TestOptions
    • getCdkCommandOptions

      public final CdkCommands getCdkCommandOptions()
      Description copied from interface: TestOptions
      Additional options to use for each CDK command.

      Default: - runner default options

      Specified by:
      getCdkCommandOptions in interface TestOptions
    • getDiffAssets

      public final Boolean getDiffAssets()
      Description copied from interface: TestOptions
      Whether or not to include asset hashes in the diff Asset hashes can introduces a lot of unneccessary noise into tests, but there are some cases where asset hashes should be included.

      For example any tests involving custom resources or bundling

      Default: false

      Specified by:
      getDiffAssets in interface TestOptions
    • getHooks

      public final Hooks getHooks()
      Description copied from interface: TestOptions
      Additional commands to run at predefined points in the test workflow.

      e.g. { postDeploy: ['yarn', 'test'] }

      Default: - no hooks

      Specified by:
      getHooks in interface TestOptions
    • getRegions

      public final List<String> getRegions()
      Description copied from interface: TestOptions
      Limit deployment to these regions.

      Default: - can run in any region

      Specified by:
      getRegions in interface TestOptions
    • getStackUpdateWorkflow

      public final Boolean getStackUpdateWorkflow()
      Description copied from interface: TestOptions
      Run update workflow on this test case This should only be set to false to test scenarios that are not possible to test as part of the update workflow.

      Default: true

      Specified by:
      getStackUpdateWorkflow in interface TestOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object