# BatchProperty

Defines a batch.

- Source: Generated at build time
- Type last changed: v2.148.0 · 5 Jul 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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" }
};
```

Golang:

```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

- `batchJobName`: string (required) — The job name of the batch.

- `batchJobParameters`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — The batch job parameters of the batch.

- `exportDataSetNames`: string[] — The export data set names of the batch.
