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

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#
public class GetTemplateRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
GetTemplateRequest()()()()
Initializes a new instance of the GetTemplateRequest 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.)
StackName
The name or the unique identifier associated with the stack, which are not always interchangeable:
  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithStackName(String) Obsolete.
Sets the StackName property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 GetTemplateRequest
See Also

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