# TestCaseReference

A reference to a TestCase resource.

- Source: Generated at build time
- Type last changed: v2.262.0 · 22 Jul 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as interfaces_connect } from 'aws-cdk-lib/interfaces';
const testCaseReference: interfaces_connect.TestCaseReference = {
  testCaseArn: 'testCaseArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_connect as interfaces_connect

test_case_reference = interfaces_connect.TestCaseReference(
    test_case_arn="testCaseArn"
)
```

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.interfaces.connect.*;

TestCaseReference testCaseReference = TestCaseReference.builder()
        .testCaseArn("testCaseArn")
        .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.Interfaces.Connect;

var testCaseReference = new TestCaseReference {
    TestCaseArn = "testCaseArn"
};
```

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"

testCaseReference := &TestCaseReference{
	TestCaseArn: jsii.String("testCaseArn"),
}
```

## Properties

- `testCaseArn`: string (required) — The TestCaseArn of the TestCase resource.
