Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.
Request ParametersFor information about the parameters that are common to all actions, see Common Parameters.
A list of Parameter
structures that specify input parameters.
Type: Array of Parameter objects
Required: No
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.
Type: String
Length Constraints: Minimum length of 1.
Required: No
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.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 5120.
Required: No
The following element is returned by the service.
An AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.
Type: String
For information about the errors that are common to all actions, see Common Errors.
Examples EstimateTemplateCostThis example illustrates one usage of EstimateTemplateCost.
Sample Request
https://cloudformation.us-east-1.amazonaws.com/
?Action=EstimateTemplateCost
&TemplateURL= https://s3.amazonaws.com/cloudformation-samples-us-east-1/Drupal_Simple.template
&Version=2010-05-15
&SignatureVersion=2
&Timestamp=2011-12-04T22%3A26%3A28.000Z
&AWSAccessKeyId=[AWS Access KeyID]
&Signature=[Signature]
Sample Response
<Response xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
<EstimateTemplateCostResult>
<Url>http://calculator.s3.amazonaws.com/calc5.html?key=cf-2e351785-e821-450c-9d58-625e1e1ebfb6</Url>
</EstimateTemplateCostResult>
<ResponseMetadata>
<RequestId>b9b4b068-3a41-11e5-94eb-example</RequestId>
</ResponseMetadata>
</Response>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4