# ScriptDetailsProperty

The details of the script.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const scriptDetailsProperty: appstream.CfnAppBlock.ScriptDetailsProperty = {
  executablePath: 'executablePath',
  scriptS3Location: {
    s3Bucket: 's3Bucket',

    // the properties below are optional
    s3Key: 's3Key',
  },
  timeoutInSeconds: 123,

  // the properties below are optional
  executableParameters: 'executableParameters',
};
```

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_appstream as appstream

script_details_property = appstream.CfnAppBlock.ScriptDetailsProperty(
    executable_path="executablePath",
    script_s3_location=appstream.CfnAppBlock.S3LocationProperty(
        s3_bucket="s3Bucket",

        # the properties below are optional
        s3_key="s3Key"
    ),
    timeout_in_seconds=123,

    # the properties below are optional
    executable_parameters="executableParameters"
)
```

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

ScriptDetailsProperty scriptDetailsProperty = ScriptDetailsProperty.builder()
        .executablePath("executablePath")
        .scriptS3Location(S3LocationProperty.builder()
                .s3Bucket("s3Bucket")

                // the properties below are optional
                .s3Key("s3Key")
                .build())
        .timeoutInSeconds(123)

        // the properties below are optional
        .executableParameters("executableParameters")
        .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.AppStream;

var scriptDetailsProperty = new ScriptDetailsProperty {
    ExecutablePath = "executablePath",
    ScriptS3Location = new S3LocationProperty {
        S3Bucket = "s3Bucket",

        // the properties below are optional
        S3Key = "s3Key"
    },
    TimeoutInSeconds = 123,

    // the properties below are optional
    ExecutableParameters = "executableParameters"
};
```

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"

scriptDetailsProperty := &ScriptDetailsProperty{
	ExecutablePath: jsii.String("executablePath"),
	ScriptS3Location: &S3LocationProperty{
		S3Bucket: jsii.String("s3Bucket"),

		// the properties below are optional
		S3Key: jsii.String("s3Key"),
	},
	TimeoutInSeconds: jsii.Number(123),

	// the properties below are optional
	ExecutableParameters: jsii.String("executableParameters"),
}
```

## Properties

- `executableParameters`: string — The parameters used in the run path for the script.

- `executablePath`: string (required) — The run path for the script.

- `scriptS3Location`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAppBlock.S3LocationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlock.S3LocationProperty.html) (required) — The S3 object location of the script.

- `timeoutInSeconds`: number (required) — The run timeout, in seconds, for the script.
