# ScriptProperty

Specifies the script.

- 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 scriptProperty: apptest.CfnTestCase.ScriptProperty = {
  scriptLocation: 'scriptLocation',
  type: 'type',
};
```

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

script_property = apptest.CfnTestCase.ScriptProperty(
    script_location="scriptLocation",
    type="type"
)
```

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

ScriptProperty scriptProperty = ScriptProperty.builder()
        .scriptLocation("scriptLocation")
        .type("type")
        .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 scriptProperty = new ScriptProperty {
    ScriptLocation = "scriptLocation",
    Type = "type"
};
```

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"

scriptProperty := &ScriptProperty{
	ScriptLocation: jsii.String("scriptLocation"),
	Type: jsii.String("type"),
}
```

## Properties

- `scriptLocation`: string (required) — The script location of the scripts.

- `type`: string (required) — The type of the scripts.
