ScriptProperty Struct
Specifies the script.
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 scriptProperty: apptest.CfnTestCase.ScriptProperty = {
scriptLocation: 'scriptLocation',
type: 'type',
};
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
// 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();
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"
};
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"),
}