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

Class: Aws::ACMPCA::Types::Validity

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Validity as input to an Aws::Client method, you can use a vanilla Hash:

{
  value: 1, # required
  type: "END_DATE", # required, accepts END_DATE, ABSOLUTE, DAYS, MONTHS, YEARS
}

Length of time for which the certificate issued by your private certificate authority (CA), or by the private CA itself, is valid in days, months, or years. You can issue a certificate by calling the IssueCertificate operation.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

Specifies whether the Value parameter represents days, months, or years.

Possible values:

  • END_DATE
  • ABSOLUTE
  • DAYS
  • MONTHS
  • YEARS

Returns:

  • (String)

    Specifies whether the Value parameter represents days, months, or years.

#valueInteger

Time period.

Returns:

  • (Integer)

    Time period.