Class TestOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cloudassembly.schema.TestOptions.Jsii$Proxy
- All Implemented Interfaces:
TestOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- TestOptions
@Stability(Stable)
@Internal
public static final class TestOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements TestOptions
An implementation for
TestOptions-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cloudassembly.schema.TestOptions
TestOptions.Builder, TestOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(TestOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theTestOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanList of CloudFormation resource types in this stack that can be destroyed as part of an update without failing the test.final CdkCommandsAdditional options to use for each CDK command.final BooleanWhether 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 HooksgetHooks()Additional commands to run at predefined points in the test workflow.Limit deployment to these regions.final BooleanRun 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 inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theTestOptions.Builder.
-
-
Method Details
-
getAllowDestroy
Description copied from interface:TestOptionsList 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:
getAllowDestroyin interfaceTestOptions
-
getCdkCommandOptions
Description copied from interface:TestOptionsAdditional options to use for each CDK command.Default: - runner default options
- Specified by:
getCdkCommandOptionsin interfaceTestOptions
-
getDiffAssets
Description copied from interface:TestOptionsWhether 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:
getDiffAssetsin interfaceTestOptions
-
getHooks
Description copied from interface:TestOptionsAdditional commands to run at predefined points in the test workflow.e.g. { postDeploy: ['yarn', 'test'] }
Default: - no hooks
- Specified by:
getHooksin interfaceTestOptions
-
getRegions
Description copied from interface:TestOptionsLimit deployment to these regions.Default: - can run in any region
- Specified by:
getRegionsin interfaceTestOptions
-
getStackUpdateWorkflow
Description copied from interface:TestOptionsRun 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:
getStackUpdateWorkflowin interfaceTestOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-