View a markdown version of this page

AWS::PCS::ComputeNodeGroup ScriptSource - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::PCS::ComputeNodeGroup ScriptSource

The source location and integrity information for a node lifecycle script.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Checksum" : String, "S3VersionId" : String, "ScriptLocation" : String }

YAML

Checksum: String S3VersionId: String ScriptLocation: String

Properties

Checksum

The SHA-256 checksum of the script content, as a 64-character hexadecimal string. This value is optional. When specified, Amazon PCS uses this value to verify the integrity of the downloaded script.

Required: No

Type: String

Pattern: ^[a-fA-F0-9]{64}$

Minimum: 64

Maximum: 64

Update requires: No interruption

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 scriptLocation is an Amazon S3 URI.

Required: No

Type: String

Maximum: 1024

Update requires: No interruption

ScriptLocation

The location of the script. Specify either an Amazon S3 URI in the format s3://bucket-name/key or an HTTPS URL.

Required: Yes

Type: String

Pattern: ^(s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]/.+|https://.+)$

Minimum: 1

Maximum: 1024

Update requires: No interruption