StartSigningJob
Source:
src/AWS/Signer/StartSigningJob.ts
Runtime binding for signer:StartSigningJob.
Starts an asynchronous code-signing job with the bound
SigningProfile — Signer reads the (versioned) source object from
S3, signs it with the profile’s platform and material, and writes the
signed artifact to the destination bucket. The profile name is injected
from the binding; the caller’s credentials are used for the S3 access, so
also bind S3.GetObject on the source bucket and S3.PutObject on the
destination. Returns the jobId for use with DescribeSigningJob /
RevokeSignature. Provide the implementation with
Effect.provide(AWS.Signer.StartSigningJobHttp).
Signing Code
Section titled “Signing Code”// init — bind the operation to the profileconst startSigningJob = yield* AWS.Signer.StartSigningJob(profile);
// runtimeconst { jobId } = yield* startSigningJob({ source: { s3: { bucketName: "src", key: "code.zip", version: versionId } }, destination: { s3: { bucketName: "dst", prefix: "signed/" } },});