Skip to content

StartCostEstimation

Source: src/AWS/DevOpsGuru/StartCostEstimation.ts

Runtime binding for devops-guru:StartCostEstimation.

Starts estimating the monthly cost of DevOps Guru analyzing a candidate resource collection. Poll the result with GetCostEstimation. Provide the implementation with Effect.provide(AWS.DevOpsGuru.StartCostEstimationHttp).

// init — account-level binding, no resource argument
const startCostEstimation = yield* AWS.DevOpsGuru.StartCostEstimation();
// runtime
yield* startCostEstimation({
ResourceCollection: { CloudFormation: { StackNames: ["my-app-prod"] } },
});