MainframeActionTypeProperty Struct
Specifies the mainframe action type.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apptest as apptest } from 'aws-cdk-lib';
const mainframeActionTypeProperty: apptest.CfnTestCase.MainframeActionTypeProperty = {
batch: {
batchJobName: 'batchJobName',
// the properties below are optional
batchJobParameters: {
batchJobParametersKey: 'batchJobParameters',
},
exportDataSetNames: ['exportDataSetNames'],
},
tn3270: {
script: {
scriptLocation: 'scriptLocation',
type: 'type',
},
// the properties below are optional
exportDataSetNames: ['exportDataSetNames'],
},
};
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_apptest as apptest
mainframe_action_type_property = apptest.CfnTestCase.MainframeActionTypeProperty(
batch=apptest.CfnTestCase.BatchProperty(
batch_job_name="batchJobName",
# the properties below are optional
batch_job_parameters={
"batch_job_parameters_key": "batchJobParameters"
},
export_data_set_names=["exportDataSetNames"]
),
tn3270=apptest.CfnTestCase.TN3270Property(
script=apptest.CfnTestCase.ScriptProperty(
script_location="scriptLocation",
type="type"
),
# the properties below are optional
export_data_set_names=["exportDataSetNames"]
)
)
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.apptest.*;
MainframeActionTypeProperty mainframeActionTypeProperty = MainframeActionTypeProperty.builder()
.batch(BatchProperty.builder()
.batchJobName("batchJobName")
// the properties below are optional
.batchJobParameters(Map.of(
"batchJobParametersKey", "batchJobParameters"))
.exportDataSetNames(List.of("exportDataSetNames"))
.build())
.tn3270(TN3270Property.builder()
.script(ScriptProperty.builder()
.scriptLocation("scriptLocation")
.type("type")
.build())
// the properties below are optional
.exportDataSetNames(List.of("exportDataSetNames"))
.build())
.build();
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.AppTest;
var mainframeActionTypeProperty = 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" }
}
};
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"
mainframeActionTypeProperty := &MainframeActionTypeProperty{
Batch: &BatchProperty{
BatchJobName: jsii.String("batchJobName"),
// the properties below are optional
BatchJobParameters: map[string]*string{
"batchJobParametersKey": jsii.String("batchJobParameters"),
},
ExportDataSetNames: []*string{
jsii.String("exportDataSetNames"),
},
},
Tn3270: &TN3270Property{
Script: &ScriptProperty{
ScriptLocation: jsii.String("scriptLocation"),
Type: jsii.String("type"),
},
// the properties below are optional
ExportDataSetNames: []*string{
jsii.String("exportDataSetNames"),
},
},
}
Properties
batchoptionalIResolvable | CfnTestCase.BatchPropertybatchoptionaltyping.Union[IResolvable, BatchProperty]batchoptionalIResolvableBatchoptionalIResolvableBatchoptionalinterface{} #The batch of the mainframe action type.
tn3270optionalIResolvable | CfnTestCase.TN3270Propertytn3270optionaltyping.Union[IResolvable, TN3270Property]tn3270optionalIResolvableTn3270optionalIResolvableTn3270optionalinterface{} #The tn3270 port of the mainframe action type.