Skip to content
v2.274.0

ScriptSourceProperty Struct ​

The external location of a lifecycle script.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcs as pcs } from 'aws-cdk-lib';
const scriptSourceProperty: pcs.CfnComputeNodeGroup.ScriptSourceProperty = {
  scriptLocation: 'scriptLocation',

  // the properties below are optional
  checksum: 'checksum',
  s3VersionId: 's3VersionId',
};

Properties ​

checksumstringchecksumstrchecksumStringChecksumstringChecksum*string#
A 64-character hexadecimal SHA-256 digest used to verify script integrity.
s3VersionIdstrings3_version_idstrs3VersionIdStringS3VersionIdstringS3VersionId*string#
The S3 object version ID of the script, when stored in a versioned bucket.
scriptLocationstringscript_locationstrscriptLocationStringScriptLocationstringScriptLocation*stringrequired#
The S3 URI or HTTPS URL where the script is stored.