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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudformation/types.rb

Overview

Note:

When making an API call, you may pass ValidateTemplateInput data as a 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.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html

Returns:

  • (String)


7545
7546
7547
7548
7549
# File 'lib/aws-sdk-cloudformation/types.rb', line 7545

class ValidateTemplateInput < Struct.new(
  :template_body,
  :template_url)
  include Aws::Structure
end

#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.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html

Returns:

  • (String)


7545
7546
7547
7548
7549
# File 'lib/aws-sdk-cloudformation/types.rb', line 7545

class ValidateTemplateInput < Struct.new(
  :template_body,
  :template_url)
  include Aws::Structure
end