Skip to content
v2.277.0

ScriptDetailsProperty Struct ​

The details of 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_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
# 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
// 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();
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"
};
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 ​

executableParametersoptionalstringexecutable_parametersoptionalstrexecutableParametersoptionalStringExecutableParametersoptionalstringExecutableParametersoptional*string#
The parameters used in the run path for the script.
executablePathstringexecutable_pathstrexecutablePathStringExecutablePathstringExecutablePath*stringrequired#
The run path for the script.
scriptS3LocationIResolvable | CfnAppBlock.S3LocationPropertyscript_s3_locationtyping.Union[IResolvable, S3LocationProperty]scriptS3LocationIResolvableScriptS3LocationIResolvableScriptS3Locationinterface{}required#
The S3 object location of the script.
timeoutInSecondsnumbertimeout_in_secondsint | floattimeoutInSecondsNumberTimeoutInSecondsdoubleTimeoutInSeconds*float64required#
The run timeout, in seconds, for the script.