You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudFormation::Types::ValidateTemplateInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ValidateTemplateInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  template_body: "TemplateBody",
  template_url: "TemplateURL",
}

The input for ValidateTemplate action.

Instance Attribute Summary collapse

Instance Attribute Details

#template_bodyString

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 AWS CloudFormation User Guide.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

Returns:

  • (String)

    Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

#template_urlString

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. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

Returns:

  • (String)

    Location of file containing the template body.