Class: Aws::ACM::Types::ValidationChallenge

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

Overview

Note:

ValidationChallenge is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ValidationChallenge corresponding to the set member.

Contains the challenge details that you use to prove domain ownership. Only one member is set, depending on the validation method.

Defined Under Namespace

Classes: DnsValidationChallenge, EmailValidationChallenge, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dns_validation_challenge ⇒ Types::DnsValidationChallenge

Contains the CNAME record that you must add to your DNS configuration to validate domain ownership using DNS validation.



6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 6492

class ValidationChallenge < Struct.new(
  :email_validation_challenge,
  :dns_validation_challenge,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class EmailValidationChallenge < ValidationChallenge; end
  class DnsValidationChallenge < ValidationChallenge; end
  class Unknown < ValidationChallenge; end
end

#email_validation_challenge ⇒ Types::EmailValidationChallenge

Contains the email addresses used for email-based domain validation.



6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 6492

class ValidationChallenge < Struct.new(
  :email_validation_challenge,
  :dns_validation_challenge,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class EmailValidationChallenge < ValidationChallenge; end
  class DnsValidationChallenge < ValidationChallenge; end
  class Unknown < ValidationChallenge; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



6492
6493
6494
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 6492

def unknown
  @unknown
end