Class: AWSCDK::ACMPCA::CfnCertificate::OtherNameProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ACMPCA::CfnCertificate::OtherNameProperty
- 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
-
#type_id ⇒ String
readonly
Specifies an OID.
-
#value ⇒ String
readonly
Specifies an OID value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type_id:, value:) ⇒ OtherNameProperty
constructor
A new instance of OtherNameProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type_id:, value:) ⇒ OtherNameProperty
Returns a new instance of OtherNameProperty.
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_id ⇒ String (readonly)
Specifies an OID.
1151 1152 1153 |
# File 'acmpca/cfn_certificate.rb', line 1151 def type_id @type_id end |
#value ⇒ String (readonly)
Specifies an OID value.
1156 1157 1158 |
# File 'acmpca/cfn_certificate.rb', line 1156 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |