ScriptSource
The source location and integrity information for a node lifecycle script.
Contents
- scriptLocation
-
The location of the script. Specify either an Amazon S3 URI in the format
s3://bucket-name/keyor an HTTPS URL.Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
(s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]/.+|https://([a-zA-Z0-9](?:[a-zA-Z0-9_-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}(?::[0-9]{1,5})?(?:[/?#][^\s]*)?)Required: Yes
- checksum
-
The SHA-256 checksum of the script content, as a 64-character hexadecimal string. This value is optional. When specified, AWS PCS uses this value to verify the integrity of the downloaded script.
Type: String
Length Constraints: Fixed length of 64.
Pattern:
[a-fA-F0-9]{64}Required: No
- s3VersionId
-
The Amazon S3 version ID of the script. Use this value to pin the script to a specific version in a versioned Amazon S3 bucket. This value is only valid when
scriptLocationis an Amazon S3 URI.Type: String
Length Constraints: Minimum length of 0. Maximum length of 1024.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: