Validate Template
| cloudformation_validate_template | R Documentation | 
Validates a specified template¶
Description¶
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.
Usage¶
cloudformation_validate_template(TemplateBody, TemplateURL)
Arguments¶
| TemplateBody | Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. Conditional: You must pass  | 
| TemplateURL | The URL of a file containing 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  | 
Value¶
A list with the following syntax:
list(
  Parameters = list(
    list(
      ParameterKey = "string",
      DefaultValue = "string",
      NoEcho = TRUE|FALSE,
      Description = "string"
    )
  ),
  Description = "string",
  Capabilities = list(
    "CAPABILITY_IAM"|"CAPABILITY_NAMED_IAM"|"CAPABILITY_AUTO_EXPAND"
  ),
  CapabilitiesReason = "string",
  DeclaredTransforms = list(
    "string"
  )
)
Request syntax¶
svc$validate_template(
  TemplateBody = "string",
  TemplateURL = "string"
)