Skip to content
v2.278.0

TestCaseReference Struct ​

A reference to a TestCase resource.

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 interfaces_apptest } from 'aws-cdk-lib/interfaces';
const testCaseReference: interfaces_apptest.TestCaseReference = {
  testCaseArn: 'testCaseArn',
  testCaseId: 'testCaseId',
};
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_apptest as interfaces_apptest

test_case_reference = interfaces_apptest.TestCaseReference(
    test_case_arn="testCaseArn",
    test_case_id="testCaseId"
)
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.apptest.*;

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

var testCaseReference = new TestCaseReference {
    TestCaseArn = "testCaseArn",
    TestCaseId = "testCaseId"
};
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"),
	TestCaseId: jsii.String("testCaseId"),
}

Properties ​

testCaseArnstringtest_case_arnstrtestCaseArnStringTestCaseArnstringTestCaseArn*string required #
The ARN of the TestCase resource.
testCaseIdstringtest_case_idstrtestCaseIdStringTestCaseIdstringTestCaseId*string required #
The TestCaseId of the TestCase resource.