Class: AWSCDK::ACMPCA::CfnCertificate::ValidityProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ACMPCA::CfnCertificate::ValidityProperty
- Defined in:
- acmpca/cfn_certificate.rb
Overview
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.
Instance Attribute Summary collapse
-
#type ⇒ String
readonly
Specifies whether the
Valueparameter represents days, months, or years. -
#value ⇒ Numeric
readonly
A long integer interpreted according to the value of
Type, below.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, value:) ⇒ ValidityProperty
constructor
A new instance of ValidityProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, value:) ⇒ ValidityProperty
Returns a new instance of ValidityProperty.
1501 1502 1503 1504 1505 1506 |
# File 'acmpca/cfn_certificate.rb', line 1501 def initialize(type:, value:) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") end |
Instance Attribute Details
#type ⇒ String (readonly)
Specifies whether the Value parameter represents days, months, or years.
1512 1513 1514 |
# File 'acmpca/cfn_certificate.rb', line 1512 def type @type end |
#value ⇒ Numeric (readonly)
A long integer interpreted according to the value of Type , below.
1517 1518 1519 |
# File 'acmpca/cfn_certificate.rb', line 1517 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1519 1520 1521 1522 1523 1524 |
# File 'acmpca/cfn_certificate.rb', line 1519 def self.jsii_properties { :type => "type", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1526 1527 1528 1529 1530 1531 1532 1533 |
# File 'acmpca/cfn_certificate.rb', line 1526 def to_jsii result = {} result.merge!({ "type" => @type, "value" => @value, }) result.compact end |