Skip to content

/AWS1/CL_FRM=>ESTIMATETEMPLATECOST()

About EstimateTemplateCost

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.

Method Signature

IMPORTING

Optional arguments:

IV_TEMPLATEBODY TYPE /AWS1/FRMTEMPLATEBODY /AWS1/FRMTEMPLATEBODY

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

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

IV_TEMPLATEURL TYPE /AWS1/FRMTEMPLATEURL /AWS1/FRMTEMPLATEURL

Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://.

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

IT_PARAMETERS TYPE /AWS1/CL_FRMPARAMETER=>TT_PARAMETERS TT_PARAMETERS

A list of Parameter structures that specify input parameters.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FRMESTIMATETMPLCOST01 /AWS1/CL_FRMESTIMATETMPLCOST01