Interface CfnWorkflowProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnWorkflowProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.962Z") @Stability(Stable) public interface CfnWorkflowProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnWorkflow.

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.transfer.*;
 Object copyStepDetails;
 Object customStepDetails;
 Object deleteStepDetails;
 Object tagStepDetails;
 CfnWorkflowProps cfnWorkflowProps = CfnWorkflowProps.builder()
         .steps(List.of(WorkflowStepProperty.builder()
                 .copyStepDetails(copyStepDetails)
                 .customStepDetails(customStepDetails)
                 .decryptStepDetails(DecryptStepDetailsProperty.builder()
                         .destinationFileLocation(InputFileLocationProperty.builder()
                                 .efsFileLocation(EfsInputFileLocationProperty.builder()
                                         .fileSystemId("fileSystemId")
                                         .path("path")
                                         .build())
                                 .s3FileLocation(S3InputFileLocationProperty.builder()
                                         .bucket("bucket")
                                         .key("key")
                                         .build())
                                 .build())
                         .name("name")
                         .overwriteExisting("overwriteExisting")
                         .sourceFileLocation("sourceFileLocation")
                         .type("type")
                         .build())
                 .deleteStepDetails(deleteStepDetails)
                 .tagStepDetails(tagStepDetails)
                 .type("type")
                 .build()))
         // the properties below are optional
         .description("description")
         .onExceptionSteps(List.of(WorkflowStepProperty.builder()
                 .copyStepDetails(copyStepDetails)
                 .customStepDetails(customStepDetails)
                 .decryptStepDetails(DecryptStepDetailsProperty.builder()
                         .destinationFileLocation(InputFileLocationProperty.builder()
                                 .efsFileLocation(EfsInputFileLocationProperty.builder()
                                         .fileSystemId("fileSystemId")
                                         .path("path")
                                         .build())
                                 .s3FileLocation(S3InputFileLocationProperty.builder()
                                         .bucket("bucket")
                                         .key("key")
                                         .build())
                                 .build())
                         .name("name")
                         .overwriteExisting("overwriteExisting")
                         .sourceFileLocation("sourceFileLocation")
                         .type("type")
                         .build())
                 .deleteStepDetails(deleteStepDetails)
                 .tagStepDetails(tagStepDetails)
                 .type("type")
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getSteps

      @Stability(Stable) @NotNull Object getSteps()
      Specifies the details for the steps that are in the specified workflow.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      Specifies the text description for the workflow.
    • getOnExceptionSteps

      @Stability(Stable) @Nullable default Object getOnExceptionSteps()
      Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      Key-value pairs that can be used to group and search for workflows.

      Tags are metadata attached to workflows for any purpose.

    • builder

      @Stability(Stable) static CfnWorkflowProps.Builder builder()
      Returns:
      a CfnWorkflowProps.Builder of CfnWorkflowProps