Package sunstone.aws.annotation
Annotation Type WithAwsCfTemplate
-
@Retention(RUNTIME) @Target(TYPE) @Repeatable(WithAwsCfTemplateRepeatable.class) @ExtendWith(sunstone.core.SunstoneExtension.class) @Inherited public @interface WithAwsCfTemplate
Deploy CloudFormation templateDeployed as a stack in
BeforeAllCallbackand whole stack is deleted inAfterAllCallbackor once the suite is finished (seeperSuite())
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description sunstone.annotation.Parameter[]parametersArray of parameters Values may can be an expression - 'value-${variable:default}' - var is resolved from system properties.booleanperSuiteTrue if resources supposed to be managed at suite level.StringregionRegion that should be used for creating resource group.
-
-
-
Element Detail
-
template
String template
Template file located in resources
-
-
-
region
String region
Region that should be used for creating resource group. Expression is allowed, e.g.abc-${var:default}-xyz- var is resolved from system properties. By defaultsunstone.aws.regionSunstone Config property is used. For the list of available regions seeRegion- Default:
- "${sunstone.aws.region}"
-
-
-
perSuite
boolean perSuite
True if resources supposed to be managed at suite level.
The template is deployed only once and undeployed once the suite is done.
Suite is a set of test classes that runs in a bulk not interfering with other suites (sets of test classes). Suite may be defined as a surefire run or as
Suite- Default:
- false
-
-