Class: Aws::PcaConnectorAd::Types::ValidityPeriod

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

Overview

Information describing the end of the validity period of the certificate. This parameter sets the “Not After” date for the certificate. Certificate validity is the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the certificate expires, or as a span of time after issuance, stated in hours, days, months, or years. For more information, see Validity in RFC 5280. This value is unaffected when ValidityNotBefore is also specified. For example, if Validity is set to 20 days in the future, the certificate will expire 20 days from issuance time regardless of the ValidityNotBefore value.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#periodInteger

The numeric value for the validity period.

Returns:

  • (Integer)


2816
2817
2818
2819
2820
2821
# File 'gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/types.rb', line 2816

class ValidityPeriod < Struct.new(
  :period,
  :period_type)
  SENSITIVE = []
  include Aws::Structure
end

#period_typeString

The unit of time. You can select hours, days, weeks, months, and years.

Returns:

  • (String)


2816
2817
2818
2819
2820
2821
# File 'gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/types.rb', line 2816

class ValidityPeriod < Struct.new(
  :period,
  :period_type)
  SENSITIVE = []
  include Aws::Structure
end