Class: AWSCDK::ACMPCA::CfnCertificate::CustomAttributeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
acmpca/cfn_certificate.rb

Overview

Defines the X.500 relative distinguished name (RDN).

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object_identifier:, value:) ⇒ CustomAttributeProperty

Returns a new instance of CustomAttributeProperty.

Parameters:

  • object_identifier (String)

    Specifies the object identifier (OID) of the attribute type of the relative distinguished name (RDN).

  • value (String)

    Specifies the attribute value of relative distinguished name (RDN).



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_identifierString (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

#valueString (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_propertiesObject



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_jsiiObject



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