

# StackDefinition
<a name="API_StackDefinition"></a>

Describes the stack and the template used by the stack.

## Contents
<a name="API_StackDefinition_Contents"></a>

 ** StackName **   
The name associated with the stack.  
Type: String  
Required: No

 ** TemplateBody **   
The file path for the stack template file.  
Type: String  
Length Constraints: Minimum length of 1.  
Required: No

 ** TemplateURL **   
The desired final state of the stack template.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 5120.  
Required: No

## See Also
<a name="API_StackDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudformation-2010-05-15/StackDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudformation-2010-05-15/StackDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudformation-2010-05-15/StackDefinition) 