Interface ICfnWorkflowProps
Properties for defining a CfnWorkflow
.
Namespace: Amazon.CDK.AWS.Transfer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnWorkflowProps
Syntax (vb)
Public Interface ICfnWorkflowProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-workflow.html
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 copyStepDetails;
var customStepDetails;
var deleteStepDetails;
var tagStepDetails;
var cfnWorkflowProps = new CfnWorkflowProps {
Steps = new [] { new WorkflowStepProperty {
CopyStepDetails = copyStepDetails,
CustomStepDetails = customStepDetails,
DecryptStepDetails = new DecryptStepDetailsProperty {
DestinationFileLocation = new InputFileLocationProperty {
EfsFileLocation = new EfsInputFileLocationProperty {
FileSystemId = "fileSystemId",
Path = "path"
},
S3FileLocation = new S3InputFileLocationProperty {
Bucket = "bucket",
Key = "key"
}
},
Type = "type",
// the properties below are optional
Name = "name",
OverwriteExisting = "overwriteExisting",
SourceFileLocation = "sourceFileLocation"
},
DeleteStepDetails = deleteStepDetails,
TagStepDetails = tagStepDetails,
Type = "type"
} },
// the properties below are optional
Description = "description",
OnExceptionSteps = new [] { new WorkflowStepProperty {
CopyStepDetails = copyStepDetails,
CustomStepDetails = customStepDetails,
DecryptStepDetails = new DecryptStepDetailsProperty {
DestinationFileLocation = new InputFileLocationProperty {
EfsFileLocation = new EfsInputFileLocationProperty {
FileSystemId = "fileSystemId",
Path = "path"
},
S3FileLocation = new S3InputFileLocationProperty {
Bucket = "bucket",
Key = "key"
}
},
Type = "type",
// the properties below are optional
Name = "name",
OverwriteExisting = "overwriteExisting",
SourceFileLocation = "sourceFileLocation"
},
DeleteStepDetails = deleteStepDetails,
TagStepDetails = tagStepDetails,
Type = "type"
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
Description | Specifies the text description for the workflow. |
OnExceptionSteps | Specifies the steps (actions) to take if errors are encountered during execution of the workflow. |
Steps | Specifies the details for the steps that are in the specified workflow. |
Tags | Key-value pairs that can be used to group and search for workflows. |
Properties
Description
Specifies the text description for the workflow.
virtual string Description { get; }
Property Value
System.String
Remarks
OnExceptionSteps
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
virtual object OnExceptionSteps { get; }
Property Value
System.Object
Remarks
Steps
Specifies the details for the steps that are in the specified workflow.
object Steps { get; }
Property Value
System.Object
Remarks
Tags
Key-value pairs that can be used to group and search for workflows.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
Tags are metadata attached to workflows for any purpose.