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.
Container for the parameters to the ValidateTemplate operation. Validates a specified template. CloudFormation first checks if the template is valid JSON. If it isn't, CloudFormation checks if the template is valid YAML. If both these checks fail, CloudFormation returns a template validation error.
Namespace: Amazon.CloudFormation.Model
Assembly: AWSSDK.CloudFormation.dll
Version: 3.x.y.z
public class ValidateTemplateRequest : AmazonCloudFormationRequest IAmazonWebServiceRequest
The ValidateTemplateRequest type exposes the following members
Name | Description | |
---|---|---|
ValidateTemplateRequest() |
Name | Type | Description | |
---|---|---|---|
TemplateBody | System.String |
Gets and sets the property TemplateBody. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.
Conditional: You must pass |
|
TemplateURL | System.String |
Gets and sets the property TemplateURL.
Location of file containing the template body. The URL must point to a template (max
size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document.
For more information, go to Template
Anatomy in the CloudFormation User Guide. The location for an Amazon S3
bucket must start with
Conditional: You must pass |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5