Interface CfnWorkflow.ICopyStepDetailsProperty
Details for a step that performs a file copy.
Namespace: Amazon.CDK.AWS.Transfer
Assembly: Amazon.CDK.AWS.Transfer.dll
Syntax (csharp)
public interface ICopyStepDetailsProperty
Syntax (vb)
Public Interface ICopyStepDetailsProperty
Remarks
Consists of the following values:
ExampleMetadata: fixture=_generated
Examples
// 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 copyStepDetailsProperty = new CopyStepDetailsProperty {
DestinationFileLocation = new S3FileLocationProperty {
S3FileLocation = new S3InputFileLocationProperty {
Bucket = "bucket",
Key = "key"
}
},
Name = "name",
OverwriteExisting = "overwriteExisting",
SourceFileLocation = "sourceFileLocation"
};
Synopsis
Properties
DestinationFileLocation | Specifies the location for the file being copied. |
Name | The name of the step, used as an identifier. |
OverwriteExisting | A flag that indicates whether to overwrite an existing file of the same name. The default is |
SourceFileLocation | 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. |
Properties
DestinationFileLocation
Specifies the location for the file being copied.
virtual object DestinationFileLocation { get; }
Property Value
System.Object
Remarks
Use ${Transfer:UserName}
or ${Transfer:UploadDate}
in this field to parametrize the destination prefix by username or uploaded date.
The system resolves <code>UploadDate</code> to a date format of <em>YYYY-MM-DD</em> , based on the date the file is uploaded in UTC.
Name
The name of the step, used as an identifier.
virtual string Name { get; }
Property Value
System.String
Remarks
OverwriteExisting
A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE
.
virtual string OverwriteExisting { get; }
Property Value
System.String
Remarks
If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:
SourceFileLocation
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.
virtual string SourceFileLocation { get; }
Property Value
System.String