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.

Constant Summary collapse

SENSITIVE =
[]

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 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)

10269
10270
10271
10272
10273
10274
# File 'lib/aws-sdk-cloudformation/types.rb', line 10269

class ValidateTemplateInput < Struct.new(
  :template_body,
  :template_url)
  SENSITIVE = []
  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 or a Systems Manager document. For more information, go to

Template Anatomy][1

in the 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)

10269
10270
10271
10272
10273
10274
# File 'lib/aws-sdk-cloudformation/types.rb', line 10269

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