Skip to content
v2.278.0

BatchProperty Struct ​

Defines a batch.

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 batchProperty: apptest.CfnTestCase.BatchProperty = {
  batchJobName: 'batchJobName',

  // the properties below are optional
  batchJobParameters: {
    batchJobParametersKey: 'batchJobParameters',
  },
  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

batch_property = 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"]
)
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.*;

BatchProperty batchProperty = BatchProperty.builder()
        .batchJobName("batchJobName")

        // the properties below are optional
        .batchJobParameters(Map.of(
                "batchJobParametersKey", "batchJobParameters"))
        .exportDataSetNames(List.of("exportDataSetNames"))
        .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 batchProperty = new BatchProperty {
    BatchJobName = "batchJobName",

    // the properties below are optional
    BatchJobParameters = new Dictionary<string, string> {
        { "batchJobParametersKey", "batchJobParameters" }
    },
    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"

batchProperty := &BatchProperty{
	BatchJobName: jsii.String("batchJobName"),

	// the properties below are optional
	BatchJobParameters: map[string]*string{
		"batchJobParametersKey": jsii.String("batchJobParameters"),
	},
	ExportDataSetNames: []*string{
		jsii.String("exportDataSetNames"),
	},
}

Properties ​

batchJobNamestringbatch_job_namestrbatchJobNameStringBatchJobNamestringBatchJobName*string required #
The job name of the batch.
batchJobParametersoptionalIResolvable | { [key: string]: string }batch_job_parametersoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]batchJobParametersoptionalIResolvableBatchJobParametersoptionalIResolvableBatchJobParametersoptionalinterface{} #
The batch job parameters of the batch.
exportDataSetNamesoptionalstring[]export_data_set_namesoptionaltyping.List[str]exportDataSetNamesoptionalList<String>ExportDataSetNamesoptionalstring[]ExportDataSetNamesoptional*[]*string #
The export data set names of the batch.