Skip to content

ScriptSource

Source code in docs_src/capo_pcs/types/script_source.py
class ScriptSource(TypedDict, closed=True):
    script_location: "str"
    """<p>The location of the script. Specify either an Amazon S3 URI in the format <code>s3://bucket-name/key</code> or an HTTPS URL.</p>"""
    s3_version_id: NotRequired["str"]
    """<p>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 <code>scriptLocation</code> is an Amazon S3 URI.</p>"""
    checksum: NotRequired["str"]
    """<p>The SHA-256 checksum of the script content, as a 64-character hexadecimal string. This value is optional. When specified, PCS uses this value to verify the integrity of the downloaded script.</p>"""

checksum instance-attribute

checksum: NotRequired[str]

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

s3_version_id instance-attribute

s3_version_id: NotRequired[str]

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.

script_location instance-attribute

script_location: str

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