Class: AWSCDK::PCAConnectorAD::CfnTemplateGroupAccessControlEntry::AccessRightsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCAConnectorAD::CfnTemplateGroupAccessControlEntry::AccessRightsProperty
- Defined in:
- pca_connector_ad/cfn_template_group_access_control_entry.rb
Overview
Allow or deny permissions for an Active Directory group to enroll or autoenroll certificates for a template.
Instance Attribute Summary collapse
-
#auto_enroll ⇒ String?
readonly
Allow or deny an Active Directory group from autoenrolling certificates issued against a template.
-
#enroll ⇒ String?
readonly
Allow or deny an Active Directory group from enrolling certificates issued against a template.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auto_enroll: nil, enroll: nil) ⇒ AccessRightsProperty
constructor
A new instance of AccessRightsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(auto_enroll: nil, enroll: nil) ⇒ AccessRightsProperty
Returns a new instance of AccessRightsProperty.
535 536 537 538 539 540 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry.rb', line 535 def initialize(auto_enroll: nil, enroll: nil) @auto_enroll = auto_enroll Jsii::Type.check_type(@auto_enroll, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "autoEnroll") unless @auto_enroll.nil? @enroll = enroll Jsii::Type.check_type(@enroll, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "enroll") unless @enroll.nil? end |
Instance Attribute Details
#auto_enroll ⇒ String? (readonly)
Allow or deny an Active Directory group from autoenrolling certificates issued against a template.
The Active Directory group must be allowed to enroll to allow autoenrollment
548 549 550 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry.rb', line 548 def auto_enroll @auto_enroll end |
#enroll ⇒ String? (readonly)
Allow or deny an Active Directory group from enrolling certificates issued against a template.
553 554 555 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry.rb', line 553 def enroll @enroll end |
Class Method Details
.jsii_properties ⇒ Object
555 556 557 558 559 560 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry.rb', line 555 def self.jsii_properties { :auto_enroll => "autoEnroll", :enroll => "enroll", } end |
Instance Method Details
#to_jsii ⇒ Object
562 563 564 565 566 567 568 569 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry.rb', line 562 def to_jsii result = {} result.merge!({ "autoEnroll" => @auto_enroll, "enroll" => @enroll, }) result.compact end |