Class IntegTestCaseStack
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Stack
software.amazon.awscdk.integtests.IntegTestCaseStack
- All Implemented Interfaces:
IConstruct
,IDependable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:36.733Z")
@Stability(Experimental)
public class IntegTestCaseStack
extends Stack
(experimental) An integration test case stack. Allows the definition of test properties that should apply to this stack.
This should be used if there are multiple stacks in the integration test and it is necessary to specify different test case option for each. Otherwise normal stacks should be added to IntegTest
Example:
App app; Stack stackUnderTest; IntegTestCaseStack testCaseWithAssets = IntegTestCaseStack.Builder.create(app, "TestCaseAssets") .diffAssets(true) .build(); IntegTest.Builder.create(app, "Integ").testCases(List.of(stackUnderTest, testCaseWithAssets)).build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forIntegTestCaseStack
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
IntegTestCaseStack
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
IntegTestCaseStack
(software.amazon.jsii.JsiiObjectRef objRef) IntegTestCaseStack
(software.constructs.Construct scope, String id) IntegTestCaseStack
(software.constructs.Construct scope, String id, IntegTestCaseStackProps props) -
Method Summary
Modifier and TypeMethodDescription(experimental) Make assertions on resources in this test case.static Boolean
(experimental) Returns whether the construct is a IntegTestCaseStack.Methods inherited from class software.amazon.awscdk.core.Stack
addDependency, addDependency, addDockerImageAsset, addFileAsset, addTransform, allocateLogicalId, exportValue, exportValue, formatArn, getAccount, getArtifactId, getAvailabilityZones, getBundlingRequired, getDependencies, getEnvironment, getLogicalId, getNested, getNestedStackParent, getNestedStackResource, getNotificationArns, getParentStack, getPartition, getRegion, getStackId, getStackName, getSynthesizer, getTags, getTemplateFile, getTemplateOptions, getTerminationProtection, getUrlSuffix, isStack, of, parseArn, parseArn, parseArn, prepareCrossReference, regionalFact, regionalFact, renameLogicalId, reportMissingContext, reportMissingContextKey, resolve, splitArn, toJsonString, toJsonString
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
toString
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
IntegTestCaseStack
protected IntegTestCaseStack(software.amazon.jsii.JsiiObjectRef objRef) -
IntegTestCaseStack
protected IntegTestCaseStack(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
IntegTestCaseStack
@Stability(Experimental) public IntegTestCaseStack(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable IntegTestCaseStackProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
-
-
IntegTestCaseStack
@Stability(Experimental) public IntegTestCaseStack(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.
-
-
Method Details
-
isIntegTestCaseStack
(experimental) Returns whether the construct is a IntegTestCaseStack.- Parameters:
x
- This parameter is required.
-
getAssertions
(experimental) Make assertions on resources in this test case.
-