Skip to content

UpdateKxClusterCodeConfiguration

Source: src/AWS/FinSpace/UpdateKxClusterCodeConfiguration.ts

Runtime binding for finspace:UpdateKxClusterCodeConfiguration — deploys new q code (and optionally a new initialization script or command-line arguments) to a running cluster with a rolling, forced, or no-restart strategy. Provide the implementation with Effect.provide(AWS.FinSpace.UpdateKxClusterCodeConfigurationHttp).

const updateClusterCode = yield* AWS.FinSpace.UpdateKxClusterCodeConfiguration(kdb);
yield* updateClusterCode({
clusterName: "rdb",
code: { s3Bucket: "code-bucket", s3Key: "release/v2.zip" },
deploymentConfiguration: { deploymentStrategy: "ROLLING" },
clientToken: crypto.randomUUID(),
});