Skip to content

S3 Bucket

Pulls S3 objects to disk for compile pipeline scanning. Objects may be archives and binaries the archive scanner expands, or symbol unit tars from earlier compiles, linked into the library with mergeExistingUnits.

Objects are listed and downloaded with the AWS CLI set per entry by s3PullCommand. The CLI's credential chain and --endpoint-url (S3-compatible stores) apply.

A key may carry a pin: releases/app.jar#versionId=<id> pulls that object version, releases/app.jar@sha256:<64 hex> fails the pull when the content differs. The fetch manifest records each object's key, version id, ETag and sha256, with pinned: true for a pinned key.

A pull that lists keys or prefixes fails when the CLI cannot run, exits non-zero, a key is not found or a prefix matches nothing.

Config Files

To configure the S3 bucket module, Edit these files.

Below is the default configuration from: s3/config.yaml (** Required Fields*).

Edit Online

Edit config.yaml Locally

# 🔟❎ 'compile' S3 configuration

# Pull objects (e.g., Java archives, binaries, symbol unit tars from earlier compiles)
# from S3 buckets to scan for symbol values. To learn more see https://doc.log10x.com/compile/pull/s3

# Set the 10x pipeline to 'compile'
tenx: compile

# ================================ S3 Options =================================

s3Pull:

  # 'bucket' specifies the bucket to pull from.
  - bucket: "" # (❗ REQUIRED)

  # 'region' specifies the bucket's region. If omitted, the AWS CLI's default region applies.
    region: null

  # 'endpointUrl' specifies an S3-compatible endpoint for the AWS CLI (e.g., http://minio.internal:9000).
    endpointUrl: null

  # 'keys' specifies objects to pull by exact key. A key may carry a pin:
  #   releases/app.jar#versionId=<id>    pulls that object version
  #   releases/app.jar@sha256:<64 hex>   fails the pull when the content differs
    keys: [
      # releases/app-1.4.2.jar
      # units/spring-boot.10x.tar
    ]

  # 'prefixes' specifies key prefixes to pull every object under (e.g., builds/2026-10/).
    prefixes: [
    ]

  # 'recursive' specifies whether 'prefixes' include objects under nested '/' segments.
    recursive: true

  # 'command' specifies the AWS CLI program the pull runs: 'aws' on the path by default.
  #  The CLI's credential chain applies: environment, profile, instance or task role.
    command: $=TenXEnv.get("TENX_S3_COMMAND", "aws")

Options

Specify the options below to configure multiple S3 bucket:

Name Description
s3PullBucket Bucket name
s3PullRegion Bucket region
s3PullEndpointUrl S3-compatible endpoint
s3PullKeys Object keys to pull
s3PullPrefixes Key prefixes to pull
s3PullRecursive Pull objects under nested prefixes
s3PullCommand Path to the AWS CLI

s3PullBucket

Bucket name.

Type Required
String ✔

Name of the S3 bucket to pull objects from.

s3PullRegion

Bucket region.

Type Default
String ""

Region of the bucket. If omitted, the AWS CLI's default region applies.

s3PullEndpointUrl

S3-compatible endpoint.

Type Default
String ""

Endpoint URL passed to the AWS CLI as --endpoint-url, for S3-compatible stores (e.g., http://minio.internal:9000).

s3PullKeys

Object keys to pull.

Type Default
List []

Exact keys of objects to pull. A key may carry a pin:

s3PullKeys:
  - releases/app.jar#versionId=3HL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY   # that object version
  - units/spring-boot.10x.tar@sha256:4d4c1211c730c265d849f27b501fd969f790ce1ab0330865ab91f92d81eb62a0  # fails when the content differs

An unpinned key resolves its current version when the pull runs.

s3PullPrefixes

Key prefixes to pull.

Type Default
List []

Key prefixes to pull every object under (e.g., builds/2026-10/).

s3PullRecursive

Pull objects under nested prefixes.

Type Default
Boolean false

Specifies whether s3PullPrefixes include objects under nested / segments.

s3PullCommand

Path to the AWS CLI.

Type Default
String aws

The AWS CLI program this entry's pull runs for listing and downloading objects: a program name on the path or a full path, with optional leading arguments (e.g., aws --profile build).

The CLI's credential chain applies: environment, profile, instance or task role.

s3PullCommand: $=TenXEnv.get("TENX_S3_COMMAND", "aws")


This module is defined in s3/module.yaml.