Class: AWSCDK::ACMPCA::CfnCertificate::OtherNameProperty

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

Overview

Defines a custom ASN.1 X.400 GeneralName using an object identifier (OID) and value. The OID must satisfy the regular expression shown below. For more information, see NIST's definition of Object Identifier (OID) .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type_id:, value:) ⇒ OtherNameProperty

Returns a new instance of OtherNameProperty.

Parameters:

  • type_id (String)

    Specifies an OID.

  • value (String)

    Specifies an OID value.



1140
1141
1142
1143
1144
1145
# File 'acmpca/cfn_certificate.rb', line 1140

def initialize(type_id:, value:)
  @type_id = type_id
  Jsii::Type.check_type(@type_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "typeId")
  @value = value
  Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value")
end

Instance Attribute Details

#type_idString (readonly)

Specifies an OID.



1151
1152
1153
# File 'acmpca/cfn_certificate.rb', line 1151

def type_id
  @type_id
end

#valueString (readonly)

Specifies an OID value.



1156
1157
1158
# File 'acmpca/cfn_certificate.rb', line 1156

def value
  @value
end

Class Method Details

.jsii_propertiesObject



1158
1159
1160
1161
1162
1163
# File 'acmpca/cfn_certificate.rb', line 1158

def self.jsii_properties
  {
    :type_id => "typeId",
    :value => "value",
  }
end

Instance Method Details

#to_jsiiObject



1165
1166
1167
1168
1169
1170
1171
1172
# File 'acmpca/cfn_certificate.rb', line 1165

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