Class: AWSCDK::ACMPCA::CfnCertificateAuthority::AccessMethodProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ACMPCA::CfnCertificateAuthority::AccessMethodProperty
- Defined in:
- acmpca/cfn_certificate_authority.rb
Overview
Describes the type and format of extension access.
Only one of CustomObjectIdentifier or AccessMethodType may be provided. Providing both results in InvalidArgsException .
Instance Attribute Summary collapse
-
#access_method_type ⇒ String?
readonly
Specifies the
AccessMethod. -
#custom_object_identifier ⇒ String?
readonly
An object identifier (OID) specifying the
AccessMethod.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(access_method_type: nil, custom_object_identifier: nil) ⇒ AccessMethodProperty
constructor
A new instance of AccessMethodProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(access_method_type: nil, custom_object_identifier: nil) ⇒ AccessMethodProperty
Returns a new instance of AccessMethodProperty.
682 683 684 685 686 687 |
# File 'acmpca/cfn_certificate_authority.rb', line 682 def initialize(access_method_type: nil, custom_object_identifier: nil) @access_method_type = access_method_type Jsii::Type.check_type(@access_method_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessMethodType") unless @access_method_type.nil? @custom_object_identifier = custom_object_identifier Jsii::Type.check_type(@custom_object_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customObjectIdentifier") unless @custom_object_identifier.nil? end |
Instance Attribute Details
#access_method_type ⇒ String? (readonly)
Specifies the AccessMethod .
693 694 695 |
# File 'acmpca/cfn_certificate_authority.rb', line 693 def access_method_type @access_method_type end |
#custom_object_identifier ⇒ String? (readonly)
An object identifier (OID) specifying the AccessMethod .
The OID must satisfy the regular expression shown below. For more information, see NIST's definition of Object Identifier (OID) .
700 701 702 |
# File 'acmpca/cfn_certificate_authority.rb', line 700 def custom_object_identifier @custom_object_identifier end |
Class Method Details
.jsii_properties ⇒ Object
702 703 704 705 706 707 |
# File 'acmpca/cfn_certificate_authority.rb', line 702 def self.jsii_properties { :access_method_type => "accessMethodType", :custom_object_identifier => "customObjectIdentifier", } end |
Instance Method Details
#to_jsii ⇒ Object
709 710 711 712 713 714 715 716 |
# File 'acmpca/cfn_certificate_authority.rb', line 709 def to_jsii result = {} result.merge!({ "accessMethodType" => @access_method_type, "customObjectIdentifier" => @custom_object_identifier, }) result.compact end |