Class: AWSCDK::ACMPCA::CfnCertificateAuthority::CustomAttributeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
acmpca/cfn_certificate_authority.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).



977
978
979
980
981
982
# File 'acmpca/cfn_certificate_authority.rb', line 977

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).



988
989
990
# File 'acmpca/cfn_certificate_authority.rb', line 988

def object_identifier
  @object_identifier
end

#valueString (readonly)

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



993
994
995
# File 'acmpca/cfn_certificate_authority.rb', line 993

def value
  @value
end

Class Method Details

.jsii_propertiesObject



995
996
997
998
999
1000
# File 'acmpca/cfn_certificate_authority.rb', line 995

def self.jsii_properties
  {
    :object_identifier => "objectIdentifier",
    :value => "value",
  }
end

Instance Method Details

#to_jsiiObject



1002
1003
1004
1005
1006
1007
1008
1009
# File 'acmpca/cfn_certificate_authority.rb', line 1002

def to_jsii
  result = {}
  result.merge!({
    "objectIdentifier" => @object_identifier,
    "value" => @value,
  })
  result.compact
end