# DeleteStepDetailsProperty

An object that contains the name and file location for a file being deleted by a workflow.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as transfer } from 'aws-cdk-lib';
const deleteStepDetailsProperty: transfer.CfnWorkflow.DeleteStepDetailsProperty = {
  name: 'name',
  sourceFileLocation: 'sourceFileLocation',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_transfer as transfer

delete_step_details_property = transfer.CfnWorkflow.DeleteStepDetailsProperty(
    name="name",
    source_file_location="sourceFileLocation"
)
```

Java:

```java
// 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.*;

DeleteStepDetailsProperty deleteStepDetailsProperty = DeleteStepDetailsProperty.builder()
        .name("name")
        .sourceFileLocation("sourceFileLocation")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Transfer;

var deleteStepDetailsProperty = new DeleteStepDetailsProperty {
    Name = "name",
    SourceFileLocation = "sourceFileLocation"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

deleteStepDetailsProperty := &DeleteStepDetailsProperty{
	Name: jsii.String("name"),
	SourceFileLocation: jsii.String("sourceFileLocation"),
}
```

## Properties

- `name`: string — The name of the step, used as an identifier.

- `sourceFileLocation`: string — Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.

  - To use the previous file as the input, enter `${previous.file}` . In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value.
  - To use the originally uploaded file location as input for this step, enter `${original.file}` .
