@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:58.412Z") @Stability(value=Experimental) public class IntegTestCaseStack extends 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();
| Modifier and Type | Class and Description |
|---|---|
static class |
IntegTestCaseStack.Builder
(experimental) A fluent builder for
IntegTestCaseStack. |
software.amazon.jsii.JsiiObject.InitializationModeITaggable.Jsii$Default, ITaggable.Jsii$ProxyIConstruct.Jsii$Default, IConstruct.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
IntegTestCaseStack(software.constructs.Construct scope,
String id) |
|
IntegTestCaseStack(software.constructs.Construct scope,
String id,
IntegTestCaseStackProps props) |
protected |
IntegTestCaseStack(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
IntegTestCaseStack(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
IDeployAssert |
getAssertions()
(experimental) Make assertions on resources in this test case.
|
static Boolean |
isIntegTestCaseStack(Object x)
(experimental) Returns whether the construct is a IntegTestCaseStack.
|
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, toJsonStringgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected IntegTestCaseStack(software.amazon.jsii.JsiiObjectRef objRef)
protected IntegTestCaseStack(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public IntegTestCaseStack(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
IntegTestCaseStackProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
public IntegTestCaseStack(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static Boolean isIntegTestCaseStack(@NotNull Object x)
x - This parameter is required.@Stability(value=Experimental) @NotNull public IDeployAssert getAssertions()
Copyright © 2022. All rights reserved.