Class: AWSCDK::ACMPCA::CfnCertificate::CustomAttributeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ACMPCA::CfnCertificate::CustomAttributeProperty
- Defined in:
- acmpca/cfn_certificate.rb
Overview
Defines the X.500 relative distinguished name (RDN).
Instance Attribute Summary collapse
-
#object_identifier ⇒ String
readonly
Specifies the object identifier (OID) of the attribute type of the relative distinguished name (RDN).
-
#value ⇒ String
readonly
Specifies the attribute value of relative distinguished name (RDN).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(object_identifier:, value:) ⇒ CustomAttributeProperty
constructor
A new instance of CustomAttributeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(object_identifier:, value:) ⇒ CustomAttributeProperty
Returns a new instance of CustomAttributeProperty.
646 647 648 649 650 651 |
# File 'acmpca/cfn_certificate.rb', line 646 def initialize(object_identifier:, value:) @object_identifier = object_identifier Jsii::Type.check_type(@object_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "objectIdentifier") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#object_identifier ⇒ String (readonly)
Specifies the object identifier (OID) of the attribute type of the relative distinguished name (RDN).
657 658 659 |
# File 'acmpca/cfn_certificate.rb', line 657 def object_identifier @object_identifier end |
#value ⇒ String (readonly)
Specifies the attribute value of relative distinguished name (RDN).
662 663 664 |
# File 'acmpca/cfn_certificate.rb', line 662 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
664 665 666 667 668 669 |
# File 'acmpca/cfn_certificate.rb', line 664 def self.jsii_properties { :object_identifier => "objectIdentifier", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
671 672 673 674 675 676 677 678 |
# File 'acmpca/cfn_certificate.rb', line 671 def to_jsii result = {} result.merge!({ "objectIdentifier" => @object_identifier, "value" => @value, }) result.compact end |