Interface CfnTestCase.StepProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTestCase.StepProperty.Jsii$Proxy
Enclosing class:
CfnTestCase

@Stability(Stable) public static interface CfnTestCase.StepProperty extends software.amazon.jsii.JsiiSerializable
Defines a step.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apptest.*;
 StepProperty stepProperty = StepProperty.builder()
         .action(StepActionProperty.builder()
                 .compareAction(CompareActionProperty.builder()
                         .input(InputProperty.builder()
                                 .file(InputFileProperty.builder()
                                         .fileMetadata(FileMetadataProperty.builder()
                                                 .databaseCdc(DatabaseCDCProperty.builder()
                                                         .sourceMetadata(SourceDatabaseMetadataProperty.builder()
                                                                 .captureTool("captureTool")
                                                                 .type("type")
                                                                 .build())
                                                         .targetMetadata(TargetDatabaseMetadataProperty.builder()
                                                                 .captureTool("captureTool")
                                                                 .type("type")
                                                                 .build())
                                                         .build())
                                                 .dataSets(List.of(DataSetProperty.builder()
                                                         .ccsid("ccsid")
                                                         .format("format")
                                                         .length(123)
                                                         .name("name")
                                                         .type("type")
                                                         .build()))
                                                 .build())
                                         .sourceLocation("sourceLocation")
                                         .targetLocation("targetLocation")
                                         .build())
                                 .build())
                         // the properties below are optional
                         .output(OutputProperty.builder()
                                 .file(OutputFileProperty.builder()
                                         .fileLocation("fileLocation")
                                         .build())
                                 .build())
                         .build())
                 .mainframeAction(MainframeActionProperty.builder()
                         .actionType(MainframeActionTypeProperty.builder()
                                 .batch(BatchProperty.builder()
                                         .batchJobName("batchJobName")
                                         // the properties below are optional
                                         .batchJobParameters(Map.of(
                                                 "batchJobParametersKey", "batchJobParameters"))
                                         .exportDataSetNames(List.of("exportDataSetNames"))
                                         .build())
                                 .tn3270(TN3270Property.builder()
                                         .script(ScriptProperty.builder()
                                                 .scriptLocation("scriptLocation")
                                                 .type("type")
                                                 .build())
                                         // the properties below are optional
                                         .exportDataSetNames(List.of("exportDataSetNames"))
                                         .build())
                                 .build())
                         .resource("resource")
                         // the properties below are optional
                         .properties(MainframeActionPropertiesProperty.builder()
                                 .dmsTaskArn("dmsTaskArn")
                                 .build())
                         .build())
                 .resourceAction(ResourceActionProperty.builder()
                         .cloudFormationAction(CloudFormationActionProperty.builder()
                                 .resource("resource")
                                 // the properties below are optional
                                 .actionType("actionType")
                                 .build())
                         .m2ManagedApplicationAction(M2ManagedApplicationActionProperty.builder()
                                 .actionType("actionType")
                                 .resource("resource")
                                 // the properties below are optional
                                 .properties(M2ManagedActionPropertiesProperty.builder()
                                         .forceStop(false)
                                         .importDataSetLocation("importDataSetLocation")
                                         .build())
                                 .build())
                         .m2NonManagedApplicationAction(M2NonManagedApplicationActionProperty.builder()
                                 .actionType("actionType")
                                 .resource("resource")
                                 .build())
                         .build())
                 .build())
         .name("name")
         // the properties below are optional
         .description("description")
         .build();
 

See Also: