Class: AWSCDK::ACMPCA::CfnCertificateAuthority::OtherNameProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ACMPCA::CfnCertificateAuthority::OtherNameProperty
- Defined in:
- acmpca/cfn_certificate_authority.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.
1339 1340 1341 1342 1343 1344 |
# File 'acmpca/cfn_certificate_authority.rb', line 1339 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.
1350 1351 1352 |
# File 'acmpca/cfn_certificate_authority.rb', line 1350 def type_id @type_id end |
#value ⇒ String (readonly)
Specifies an OID value.
1355 1356 1357 |
# File 'acmpca/cfn_certificate_authority.rb', line 1355 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1357 1358 1359 1360 1361 1362 |
# File 'acmpca/cfn_certificate_authority.rb', line 1357 def self.jsii_properties { :type_id => "typeId", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1364 1365 1366 1367 1368 1369 1370 1371 |
# File 'acmpca/cfn_certificate_authority.rb', line 1364 def to_jsii result = {} result.merge!({ "typeId" => @type_id, "value" => @value, }) result.compact end |