Class: AWSCDK::PCAConnectorAD::CfnTemplateGroupAccessControlEntry::AccessRightsProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(auto_enroll: nil, enroll: nil) ⇒ AccessRightsProperty

Returns a new instance of AccessRightsProperty.

Parameters:

  • auto_enroll (String, nil) (defaults to: nil)

    Allow or deny an Active Directory group from autoenrolling certificates issued against a template.

  • enroll (String, nil) (defaults to: nil)

    Allow or deny an Active Directory group from enrolling certificates issued against a template.



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_enrollString? (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

#enrollString? (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_propertiesObject



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_jsiiObject



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