Show / Hide Table of Contents

Interface CfnTestCase.IStepProperty

Defines a step.

Namespace: Amazon.CDK.AWS.AppTest
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTestCase.IStepProperty
Syntax (vb)
Public Interface CfnTestCase.IStepProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.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.AppTest;

             var stepProperty = new StepProperty {
                 Action = new StepActionProperty {
                     CompareAction = new CompareActionProperty {
                         Input = new InputProperty {
                             File = new InputFileProperty {
                                 FileMetadata = new FileMetadataProperty {
                                     DatabaseCdc = new DatabaseCDCProperty {
                                         SourceMetadata = new SourceDatabaseMetadataProperty {
                                             CaptureTool = "captureTool",
                                             Type = "type"
                                         },
                                         TargetMetadata = new TargetDatabaseMetadataProperty {
                                             CaptureTool = "captureTool",
                                             Type = "type"
                                         }
                                     },
                                     DataSets = new [] { new DataSetProperty {
                                         Ccsid = "ccsid",
                                         Format = "format",
                                         Length = 123,
                                         Name = "name",
                                         Type = "type"
                                     } }
                                 },
                                 SourceLocation = "sourceLocation",
                                 TargetLocation = "targetLocation"
                             }
                         },

                         // the properties below are optional
                         Output = new OutputProperty {
                             File = new OutputFileProperty {
                                 FileLocation = "fileLocation"
                             }
                         }
                     },
                     MainframeAction = new MainframeActionProperty {
                         ActionType = new MainframeActionTypeProperty {
                             Batch = new BatchProperty {
                                 BatchJobName = "batchJobName",

                                 // the properties below are optional
                                 BatchJobParameters = new Dictionary<string, string> {
                                     { "batchJobParametersKey", "batchJobParameters" }
                                 },
                                 ExportDataSetNames = new [] { "exportDataSetNames" }
                             },
                             Tn3270 = new TN3270Property {
                                 Script = new ScriptProperty {
                                     ScriptLocation = "scriptLocation",
                                     Type = "type"
                                 },

                                 // the properties below are optional
                                 ExportDataSetNames = new [] { "exportDataSetNames" }
                             }
                         },
                         Resource = "resource",

                         // the properties below are optional
                         Properties = new MainframeActionPropertiesProperty {
                             DmsTaskArn = "dmsTaskArn"
                         }
                     },
                     ResourceAction = new ResourceActionProperty {
                         CloudFormationAction = new CloudFormationActionProperty {
                             Resource = "resource",

                             // the properties below are optional
                             ActionType = "actionType"
                         },
                         M2ManagedApplicationAction = new M2ManagedApplicationActionProperty {
                             ActionType = "actionType",
                             Resource = "resource",

                             // the properties below are optional
                             Properties = new M2ManagedActionPropertiesProperty {
                                 ForceStop = false,
                                 ImportDataSetLocation = "importDataSetLocation"
                             }
                         },
                         M2NonManagedApplicationAction = new M2NonManagedApplicationActionProperty {
                             ActionType = "actionType",
                             Resource = "resource"
                         }
                     }
                 },
                 Name = "name",

                 // the properties below are optional
                 Description = "description"
             };

Synopsis

Properties

Action

The action of the step.

Description

The description of the step.

Name

The name of the step.

Properties

Action

The action of the step.

object Action { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.html#cfn-apptest-testcase-step-action

Type union: either IResolvable or CfnTestCase.IStepActionProperty

Description

The description of the step.

string? Description { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.html#cfn-apptest-testcase-step-description

Name

The name of the step.

string Name { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.html#cfn-apptest-testcase-step-name

Back to top Generated by DocFX