Class: AWSCDK::ACMPCA::CfnCertificate::APIPassthroughProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ACMPCA::CfnCertificate::APIPassthroughProperty
- Defined in:
- acmpca/cfn_certificate.rb
Overview
Contains X.509 certificate information to be placed in an issued certificate. An APIPassthrough or APICSRPassthrough template variant must be selected, or else this parameter is ignored.
If conflicting or duplicate certificate information is supplied from other sources, AWS Private CA applies order of operation rules to determine what information is used.
Instance Attribute Summary collapse
-
#extensions ⇒ AWSCDK::IResolvable, ...
readonly
Specifies X.509 extension information for a certificate.
-
#subject ⇒ AWSCDK::IResolvable, ...
readonly
Contains information about the certificate subject.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(extensions: nil, subject: nil) ⇒ APIPassthroughProperty
constructor
A new instance of APIPassthroughProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(extensions: nil, subject: nil) ⇒ APIPassthroughProperty
Returns a new instance of APIPassthroughProperty.
601 602 603 604 605 606 |
# File 'acmpca/cfn_certificate.rb', line 601 def initialize(extensions: nil, subject: nil) @extensions = extensions.is_a?(Hash) ? ::AWSCDK::ACMPCA::CfnCertificate::ExtensionsProperty.new(**extensions.transform_keys(&:to_sym)) : extensions Jsii::Type.check_type(@extensions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hY21wY2EuQ2ZuQ2VydGlmaWNhdGUuRXh0ZW5zaW9uc1Byb3BlcnR5In1dfX0=")), "extensions") unless @extensions.nil? @subject = subject.is_a?(Hash) ? ::AWSCDK::ACMPCA::CfnCertificate::SubjectProperty.new(**subject.transform_keys(&:to_sym)) : subject Jsii::Type.check_type(@subject, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hY21wY2EuQ2ZuQ2VydGlmaWNhdGUuU3ViamVjdFByb3BlcnR5In1dfX0=")), "subject") unless @subject.nil? end |
Instance Attribute Details
#extensions ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies X.509 extension information for a certificate.
612 613 614 |
# File 'acmpca/cfn_certificate.rb', line 612 def extensions @extensions end |
#subject ⇒ AWSCDK::IResolvable, ... (readonly)
Contains information about the certificate subject.
The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.
619 620 621 |
# File 'acmpca/cfn_certificate.rb', line 619 def subject @subject end |
Class Method Details
.jsii_properties ⇒ Object
621 622 623 624 625 626 |
# File 'acmpca/cfn_certificate.rb', line 621 def self.jsii_properties { :extensions => "extensions", :subject => "subject", } end |
Instance Method Details
#to_jsii ⇒ Object
628 629 630 631 632 633 634 635 |
# File 'acmpca/cfn_certificate.rb', line 628 def to_jsii result = {} result.merge!({ "extensions" => @extensions, "subject" => @subject, }) result.compact end |