Skip to content
v2.274.0

ScriptReference Struct ​

A reference to a Script resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as interfaces_gamelift } from 'aws-cdk-lib/interfaces';
const scriptReference: interfaces_gamelift.ScriptReference = {
  scriptArn: 'scriptArn',
  scriptId: 'scriptId',
};

Properties ​

scriptArnstringscript_arnstrscriptArnStringScriptArnstringScriptArn*stringrequired#
The ARN of the Script resource.
scriptIdstringscript_idstrscriptIdStringScriptIdstringScriptId*stringrequired#
The Id of the Script resource.