AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
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.

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

Namespace: Amazon.CloudFormation
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract GetTemplateResponse GetTemplate(
         GetTemplateRequest request
)

Parameters

request
Type: Amazon.CloudFormation.Model.GetTemplateRequest

Container for the necessary parameters to execute the GetTemplate service method.

Return Value
Type: Amazon.CloudFormation.Model.GetTemplateResponse
The response from the GetTemplate service method, as returned by CloudFormation.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5