Skip to contents

Returns the estimated monthly cost of a template. The return value is an Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources required to run the template.

See https://www.paws-r-sdk.com/docs/cloudformation_estimate_template_cost/ for full documentation.

Usage

cloudformation_estimate_template_cost(
  TemplateBody = NULL,
  TemplateURL = NULL,
  Parameters = NULL
)

Arguments

TemplateBody

Structure that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

TemplateURL

The URL of a file that contains the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://. URLs from S3 static websites are not supported.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

Parameters

A list of Parameter structures that specify input parameters.