@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:40.897Z") 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 . |
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
IntegTestCaseStack(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
IntegTestCaseStack(software.amazon.jsii.JsiiObjectRef objRef) |
|
IntegTestCaseStack(software.constructs.Construct scope,
java.lang.String id) |
|
IntegTestCaseStack(software.constructs.Construct scope,
java.lang.String id,
IntegTestCaseStackProps props) |
Modifier and Type | Method and Description |
---|---|
IDeployAssert |
getAssertions()
(experimental) Make assertions on resources in this test case.
|
static java.lang.Boolean |
isIntegTestCaseStack(java.lang.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, toJsonString
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
protected IntegTestCaseStack(software.amazon.jsii.JsiiObjectRef objRef)
protected IntegTestCaseStack(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public IntegTestCaseStack(software.constructs.Construct scope, java.lang.String id, IntegTestCaseStackProps props)
scope
- This parameter is required.id
- This parameter is required.props
- public IntegTestCaseStack(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.public static java.lang.Boolean isIntegTestCaseStack(java.lang.Object x)
x
- This parameter is required.public IDeployAssert getAssertions()