interface ScriptSourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.PCS.CfnComputeNodeGroup.ScriptSourceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspcs#CfnComputeNodeGroup_ScriptSourceProperty |
Java | software.amazon.awscdk.services.pcs.CfnComputeNodeGroup.ScriptSourceProperty |
Python | aws_cdk.aws_pcs.CfnComputeNodeGroup.ScriptSourceProperty |
TypeScript | aws-cdk-lib » aws_pcs » CfnComputeNodeGroup » ScriptSourceProperty |
The external location of a lifecycle script.
Example
// 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
| Name | Type | Description |
|---|---|---|
| script | string | The S3 URI or HTTPS URL where the script is stored. |
| checksum? | string | A 64-character hexadecimal SHA-256 digest used to verify script integrity. |
| s3 | string | The S3 object version ID of the script, when stored in a versioned bucket. |
scriptLocation
Type:
string
The S3 URI or HTTPS URL where the script is stored.
checksum?
Type:
string
(optional)
A 64-character hexadecimal SHA-256 digest used to verify script integrity.
s3VersionId?
Type:
string
(optional)
The S3 object version ID of the script, when stored in a versioned bucket.

.NET
Go
Java
Python
TypeScript