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

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

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

Overview

Note:

When making an API call, you may pass Validity data as a 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 action.

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

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

Returns:

  • (String)


1736
1737
1738
1739
1740
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1736

class Validity < Struct.new(
  :value,
  :type)
  include Aws::Structure
end

#valueInteger

Time period.

Returns:

  • (Integer)


1736
1737
1738
1739
1740
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1736

class Validity < Struct.new(
  :value,
  :type)
  include Aws::Structure
end