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 that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
Conditional: You must pass |
![]() |
TemplateURL | System.String |
Gets and sets the property TemplateURL.
The URL of a file that contains the template body. The URL must point to a template
(max size: 1 MB) that is located in an Amazon S3 bucket or a Systems Manager document.
The location for an Amazon S3 bucket must start with
Conditional: You must pass |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer