Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::EC2::Types::ValidationError

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

Overview

The error code and error message that is returned for a parameter or parameter combination that is not valid when a new launch template or new version of a launch template is created.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.

Returns:

  • (String)

75156
75157
75158
75159
75160
75161
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 75156

class ValidationError < Struct.new(
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.

Returns:

  • (String)

75156
75157
75158
75159
75160
75161
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 75156

class ValidationError < Struct.new(
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end