Class: AWSCDK::ACMPCA::CfnCertificate::CustomExtensionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ACMPCA::CfnCertificate::CustomExtensionProperty
- Defined in:
- acmpca/cfn_certificate.rb
Overview
Specifies the X.509 extension information for a certificate.
Extensions present in CustomExtensions follow the ApiPassthrough template rules .
Instance Attribute Summary collapse
-
#critical ⇒ Boolean, ...
readonly
Specifies the critical flag of the X.509 extension.
-
#object_identifier ⇒ String
readonly
Specifies the object identifier (OID) of the X.509 extension.
-
#value ⇒ String
readonly
Specifies the base64-encoded value of the X.509 extension.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(object_identifier:, value:, critical: nil) ⇒ CustomExtensionProperty
constructor
A new instance of CustomExtensionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(object_identifier:, value:, critical: nil) ⇒ CustomExtensionProperty
Returns a new instance of CustomExtensionProperty.
692 693 694 695 696 697 698 699 |
# File 'acmpca/cfn_certificate.rb', line 692 def initialize(object_identifier:, value:, critical: nil) @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") @critical = critical Jsii::Type.check_type(@critical, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "critical") unless @critical.nil? end |
Instance Attribute Details
#critical ⇒ Boolean, ... (readonly)
Specifies the critical flag of the X.509 extension.
715 716 717 |
# File 'acmpca/cfn_certificate.rb', line 715 def critical @critical end |
#object_identifier ⇒ String (readonly)
Specifies the object identifier (OID) of the X.509 extension. For more information, see the Global OID reference database..
705 706 707 |
# File 'acmpca/cfn_certificate.rb', line 705 def object_identifier @object_identifier end |
#value ⇒ String (readonly)
Specifies the base64-encoded value of the X.509 extension.
710 711 712 |
# File 'acmpca/cfn_certificate.rb', line 710 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
717 718 719 720 721 722 723 |
# File 'acmpca/cfn_certificate.rb', line 717 def self.jsii_properties { :object_identifier => "objectIdentifier", :value => "value", :critical => "critical", } end |
Instance Method Details
#to_jsii ⇒ Object
725 726 727 728 729 730 731 732 733 |
# File 'acmpca/cfn_certificate.rb', line 725 def to_jsii result = {} result.merge!({ "objectIdentifier" => @object_identifier, "value" => @value, "critical" => @critical, }) result.compact end |