GetComponentVersionArtifact
Source:
src/AWS/GreengrassV2/GetComponentVersionArtifact.ts
Runtime binding for greengrass:GetComponentVersionArtifact.
Mints a pre-signed download URL for one of the bound
ComponentVersion’s artifacts (the same API core devices use to
fetch artifacts during installation). The component version ARN is
injected from the binding; the caller names the artifact. Provide the
implementation with
Effect.provide(AWS.GreengrassV2.GetComponentVersionArtifactHttp).
Reading Components
Section titled “Reading Components”// init — bind the operation to the component versionconst getArtifact = yield* AWS.GreengrassV2.GetComponentVersionArtifact(component);
// runtimeconst { preSignedUrl } = yield* getArtifact({ artifactName: "installer.zip" });