Class: AWSCDK::RDS::CfnDBInstance::CertificateDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RDS::CfnDBInstance::CertificateDetailsProperty
- Defined in:
- rds/cfn_db_instance.rb
Overview
The details of the DB instance’s server certificate.
For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide .
Instance Attribute Summary collapse
-
#ca_identifier ⇒ String?
readonly
The CA identifier of the CA certificate used for the DB instance's server certificate.
-
#valid_till ⇒ String?
readonly
The expiration date of the DB instance’s server certificate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ca_identifier: nil, valid_till: nil) ⇒ CertificateDetailsProperty
constructor
A new instance of CertificateDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ca_identifier: nil, valid_till: nil) ⇒ CertificateDetailsProperty
Returns a new instance of CertificateDetailsProperty.
1951 1952 1953 1954 1955 1956 |
# File 'rds/cfn_db_instance.rb', line 1951 def initialize(ca_identifier: nil, valid_till: nil) @ca_identifier = ca_identifier Jsii::Type.check_type(@ca_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "caIdentifier") unless @ca_identifier.nil? @valid_till = valid_till Jsii::Type.check_type(@valid_till, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "validTill") unless @valid_till.nil? end |
Instance Attribute Details
#ca_identifier ⇒ String? (readonly)
The CA identifier of the CA certificate used for the DB instance's server certificate.
1962 1963 1964 |
# File 'rds/cfn_db_instance.rb', line 1962 def ca_identifier @ca_identifier end |
#valid_till ⇒ String? (readonly)
The expiration date of the DB instance’s server certificate.
1967 1968 1969 |
# File 'rds/cfn_db_instance.rb', line 1967 def valid_till @valid_till end |
Class Method Details
.jsii_properties ⇒ Object
1969 1970 1971 1972 1973 1974 |
# File 'rds/cfn_db_instance.rb', line 1969 def self.jsii_properties { :ca_identifier => "caIdentifier", :valid_till => "validTill", } end |
Instance Method Details
#to_jsii ⇒ Object
1976 1977 1978 1979 1980 1981 1982 1983 |
# File 'rds/cfn_db_instance.rb', line 1976 def to_jsii result = {} result.merge!({ "caIdentifier" => @ca_identifier, "validTill" => @valid_till, }) result.compact end |