AWS SDK for .NET Documentation
EstimateTemplateCostRequest Class
AmazonAmazon.CloudFormation.ModelEstimateTemplateCostRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the EstimateTemplateCost operation.

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.

Declaration Syntax
C#
public class EstimateTemplateCostRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
EstimateTemplateCostRequest()()()()
Initializes a new instance of the EstimateTemplateCostRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Parameters
A list of Parameter structures that specify input parameters.

TemplateBody
Structure containing the template body. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.) Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

Constraints:

Length
1 -


TemplateURL
Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to Template Anatomy in the AWS CloudFormation User Guide. Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

Constraints:

Length
1 - 1024


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithParameters(array<Parameter>[]()[][]) Obsolete.
Adds elements to the Parameters collection

WithParameters(IEnumerable<(Of <<'(Parameter>)>>)) Obsolete.
Adds elements to the Parameters collection

WithTemplateBody(String) Obsolete.
Sets the TemplateBody property

WithTemplateURL(String) Obsolete.
Sets the TemplateURL property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 EstimateTemplateCostRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)