Class: AWSCDK::ACMPCA::CfnCertificateAuthority::OtherNameProperty

Inherits:
Jsii::Struct
  • Object
show all
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

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.



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_idString (readonly)

Specifies an OID.



1350
1351
1352
# File 'acmpca/cfn_certificate_authority.rb', line 1350

def type_id
  @type_id
end

#valueString (readonly)

Specifies an OID value.



1355
1356
1357
# File 'acmpca/cfn_certificate_authority.rb', line 1355

def value
  @value
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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