Class: Aws::SESV2::Types::DkimAttributes

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sesv2/types.rb

Overview

An object that contains information about the DKIM authentication status for an email identity.

Amazon SES determines the authentication status by searching for specific records in the DNS configuration for the domain. If you used

Easy DKIM][1

to set up DKIM authentication, Amazon SES tries to find

three unique CNAME records in the DNS configuration for your domain. If you provided a public key to perform DKIM authentication, Amazon SES tries to find a TXT record that uses the selector that you specified. The value of the TXT record must be a public key that’s paired with the private key that you specified in the process of creating the identity

[1]: docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#current_signing_key_lengthString

[Easy DKIM] The key length of the DKIM key pair in use.

Returns:

  • (String)


1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-sesv2/types.rb', line 1853

class DkimAttributes < Struct.new(
  :signing_enabled,
  :status,
  :tokens,
  :signing_attributes_origin,
  :next_signing_key_length,
  :current_signing_key_length,
  :last_key_generation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#last_key_generation_timestampTime

[Easy DKIM] The last time a key pair was generated for this identity.

Returns:

  • (Time)


1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-sesv2/types.rb', line 1853

class DkimAttributes < Struct.new(
  :signing_enabled,
  :status,
  :tokens,
  :signing_attributes_origin,
  :next_signing_key_length,
  :current_signing_key_length,
  :last_key_generation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#next_signing_key_lengthString

[Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.

Returns:

  • (String)


1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-sesv2/types.rb', line 1853

class DkimAttributes < Struct.new(
  :signing_enabled,
  :status,
  :tokens,
  :signing_attributes_origin,
  :next_signing_key_length,
  :current_signing_key_length,
  :last_key_generation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#signing_attributes_originString

A string that indicates how DKIM was configured for the identity. These are the possible values:

  • ‘AWS_SES` – Indicates that DKIM was configured for the identity by using [Easy DKIM].

  • ‘EXTERNAL` – Indicates that DKIM was configured for the identity by using Bring Your Own DKIM (BYODKIM).

[1]: docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html

Returns:

  • (String)


1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-sesv2/types.rb', line 1853

class DkimAttributes < Struct.new(
  :signing_enabled,
  :status,
  :tokens,
  :signing_attributes_origin,
  :next_signing_key_length,
  :current_signing_key_length,
  :last_key_generation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#signing_enabledBoolean

If the value is ‘true`, then the messages that you send from the identity are signed using DKIM. If the value is `false`, then the messages that you send from the identity aren’t DKIM-signed.

Returns:

  • (Boolean)


1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-sesv2/types.rb', line 1853

class DkimAttributes < Struct.new(
  :signing_enabled,
  :status,
  :tokens,
  :signing_attributes_origin,
  :next_signing_key_length,
  :current_signing_key_length,
  :last_key_generation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

Describes whether or not Amazon SES has successfully located the DKIM records in the DNS records for the domain. The status can be one of the following:

  • ‘PENDING` – The verification process was initiated, but Amazon SES hasn’t yet detected the DKIM records in the DNS configuration for the domain.

  • ‘SUCCESS` – The verification process completed successfully.

  • ‘FAILED` – The verification process failed. This typically occurs when Amazon SES fails to find the DKIM records in the DNS configuration of the domain.

  • ‘TEMPORARY_FAILURE` – A temporary issue is preventing Amazon SES from determining the DKIM authentication status of the domain.

  • ‘NOT_STARTED` – The DKIM verification process hasn’t been initiated for the domain.

Returns:

  • (String)


1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-sesv2/types.rb', line 1853

class DkimAttributes < Struct.new(
  :signing_enabled,
  :status,
  :tokens,
  :signing_attributes_origin,
  :next_signing_key_length,
  :current_signing_key_length,
  :last_key_generation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#tokensArray<String>

If you used [Easy DKIM] to configure DKIM authentication for the domain, then this object contains a set of unique strings that you use to create a set of CNAME records that you add to the DNS configuration for your domain. When Amazon SES detects these records in the DNS configuration for your domain, the DKIM authentication process is complete.

If you configured DKIM authentication for the domain by providing your own public-private key pair, then this object contains the selector for the public key.

Regardless of the DKIM authentication method you use, Amazon SES searches for the appropriate records in the DNS configuration of the domain for up to 72 hours.

[1]: docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html

Returns:

  • (Array<String>)


1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-sesv2/types.rb', line 1853

class DkimAttributes < Struct.new(
  :signing_enabled,
  :status,
  :tokens,
  :signing_attributes_origin,
  :next_signing_key_length,
  :current_signing_key_length,
  :last_key_generation_timestamp)
  SENSITIVE = []
  include Aws::Structure
end