Skip to content

GetSigningPlatform

Source: src/AWS/Signer/GetSigningPlatform.ts

Runtime binding for signer:GetSigningPlatform.

Reads one AWS-managed signing platform by id — its signing configuration (encryption/hash algorithms), image format, size limit, and whether it supports revocation. Account-level operation over the AWS-managed platform catalog, so the binding takes no resource argument. Provide the implementation with Effect.provide(AWS.Signer.GetSigningPlatformHttp).

// init — account-level binding, no resource argument
const getSigningPlatform = yield* AWS.Signer.GetSigningPlatform();
// runtime
const platform = yield* getSigningPlatform({
platformId: "AWSLambda-SHA384-ECDSA",
});
const canRevoke = platform.revocationSupported === true;