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

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



2789
2790
2791
2792
2793
2794
# File 'lib/aws-sdk-cloudformation/types.rb', line 2789

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.

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

Returns:

  • (String)


2789
2790
2791
2792
2793
2794
# File 'lib/aws-sdk-cloudformation/types.rb', line 2789

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.

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

Returns:

  • (String)


2789
2790
2791
2792
2793
2794
# File 'lib/aws-sdk-cloudformation/types.rb', line 2789

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