AWS SDK for .NET Documentation
GetTemplate Method (getTemplateRequest)
Amazon ► Amazon.CloudFormation ► AmazonCloudFormation ► GetTemplate(GetTemplateRequest)
Did this page help you? Yes No Tell us about it...

Returns the template body for a specified stack. You can get the template for running or deleted stacks.

For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted.

NOTE: If the template does not exist, a ValidationError is returned.

Declaration Syntax

C#

    GetTemplateResponse GetTemplate(
    	GetTemplateRequest getTemplateRequest
    )

Parameters

getTemplateRequest (GetTemplateRequest)
  Container for the necessary parameters to execute the GetTemplate service method on AmazonCloudFormation.

Return Value
The response from the GetTemplate service method, as returned by AmazonCloudFormation.

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