Class: AWSCDK::PCAConnectorAD::CfnTemplate::PrivateKeyFlagsV2Property
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCAConnectorAD::CfnTemplate::PrivateKeyFlagsV2Property
- Defined in:
- pca_connector_ad/cfn_template.rb
Overview
Private key flags for v2 templates specify the client compatibility, if the private key can be exported, and if user input is required when using a private key.
Instance Attribute Summary collapse
-
#client_version ⇒ String
readonly
Defines the minimum client compatibility.
-
#exportable_key ⇒ Boolean, ...
readonly
Allows the private key to be exported.
-
#strong_key_protection_required ⇒ Boolean, ...
readonly
Require user input when using the private key for enrollment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client_version:, exportable_key: nil, strong_key_protection_required: nil) ⇒ PrivateKeyFlagsV2Property
constructor
A new instance of PrivateKeyFlagsV2Property.
- #to_jsii ⇒ Object
Constructor Details
#initialize(client_version:, exportable_key: nil, strong_key_protection_required: nil) ⇒ PrivateKeyFlagsV2Property
Returns a new instance of PrivateKeyFlagsV2Property.
1622 1623 1624 1625 1626 1627 1628 1629 |
# File 'pca_connector_ad/cfn_template.rb', line 1622 def initialize(client_version:, exportable_key: nil, strong_key_protection_required: nil) @client_version = client_version Jsii::Type.check_type(@client_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientVersion") @exportable_key = exportable_key Jsii::Type.check_type(@exportable_key, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "exportableKey") unless @exportable_key.nil? @strong_key_protection_required = strong_key_protection_required Jsii::Type.check_type(@strong_key_protection_required, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "strongKeyProtectionRequired") unless @strong_key_protection_required.nil? end |
Instance Attribute Details
#client_version ⇒ String (readonly)
Defines the minimum client compatibility.
1635 1636 1637 |
# File 'pca_connector_ad/cfn_template.rb', line 1635 def client_version @client_version end |
#exportable_key ⇒ Boolean, ... (readonly)
Allows the private key to be exported.
1640 1641 1642 |
# File 'pca_connector_ad/cfn_template.rb', line 1640 def exportable_key @exportable_key end |
#strong_key_protection_required ⇒ Boolean, ... (readonly)
Require user input when using the private key for enrollment.
1645 1646 1647 |
# File 'pca_connector_ad/cfn_template.rb', line 1645 def strong_key_protection_required @strong_key_protection_required end |
Class Method Details
.jsii_properties ⇒ Object
1647 1648 1649 1650 1651 1652 1653 |
# File 'pca_connector_ad/cfn_template.rb', line 1647 def self.jsii_properties { :client_version => "clientVersion", :exportable_key => "exportableKey", :strong_key_protection_required => "strongKeyProtectionRequired", } end |
Instance Method Details
#to_jsii ⇒ Object
1655 1656 1657 1658 1659 1660 1661 1662 1663 |
# File 'pca_connector_ad/cfn_template.rb', line 1655 def to_jsii result = {} result.merge!({ "clientVersion" => @client_version, "exportableKey" => @exportable_key, "strongKeyProtectionRequired" => @strong_key_protection_required, }) result.compact end |