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

Class: Aws::CloudFormation::Types::EstimateTemplateCostInput

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

Overview

Note:

When making an API call, you may pass EstimateTemplateCostInput data as a hash:

{
  template_body: "TemplateBody",
  template_url: "TemplateURL",
  parameters: [
    {
      parameter_key: "ParameterKey",
      parameter_value: "ParameterValue",
      use_previous_value: false,
      resolved_value: "ParameterValue",
    },
  ],
}

The input for an EstimateTemplateCost action.

Instance Attribute Summary collapse

Instance Attribute Details

#parametersArray<Types::Parameter>

A list of Parameter structures that specify input parameters.

Returns:



1962
1963
1964
1965
1966
1967
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 1962

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

#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 TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

Returns:

  • (String)


1962
1963
1964
1965
1966
1967
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 1962

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

#template_urlString

Location of file containing the template body. The URL must point to a template 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)


1962
1963
1964
1965
1966
1967
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 1962

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