Class: AWSCDK::PCAConnectorAD::CfnTemplateGroupAccessControlEntryProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCAConnectorAD::CfnTemplateGroupAccessControlEntryProps
- Defined in:
- pca_connector_ad/cfn_template_group_access_control_entry_props.rb
Overview
Properties for defining a CfnTemplateGroupAccessControlEntry.
Instance Attribute Summary collapse
-
#access_rights ⇒ AWSCDK::IResolvable, AWSCDK::PCAConnectorAD::CfnTemplateGroupAccessControlEntry::AccessRightsProperty
readonly
Permissions to allow or deny an Active Directory group to enroll or autoenroll certificates issued against a template.
-
#group_display_name ⇒ String
readonly
Name of the Active Directory group.
-
#group_security_identifier ⇒ String
readonly
Security identifier (SID) of the group object from Active Directory.
-
#template_arn ⇒ String
readonly
The Amazon Resource Name (ARN) that was returned when you called CreateTemplate .
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(access_rights:, group_display_name:, group_security_identifier:, template_arn:) ⇒ CfnTemplateGroupAccessControlEntryProps
constructor
A new instance of CfnTemplateGroupAccessControlEntryProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(access_rights:, group_display_name:, group_security_identifier:, template_arn:) ⇒ CfnTemplateGroupAccessControlEntryProps
Returns a new instance of CfnTemplateGroupAccessControlEntryProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry_props.rb', line 13 def initialize(access_rights:, group_display_name:, group_security_identifier:, template_arn:) @access_rights = access_rights.is_a?(Hash) ? ::AWSCDK::PCAConnectorAD::CfnTemplateGroupAccessControlEntry::AccessRightsProperty.new(**access_rights.transform_keys(&:to_sym)) : access_rights Jsii::Type.check_type(@access_rights, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19wY2Fjb25uZWN0b3JhZC5DZm5UZW1wbGF0ZUdyb3VwQWNjZXNzQ29udHJvbEVudHJ5LkFjY2Vzc1JpZ2h0c1Byb3BlcnR5In1dfX0=")), "accessRights") @group_display_name = group_display_name Jsii::Type.check_type(@group_display_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groupDisplayName") @group_security_identifier = group_security_identifier Jsii::Type.check_type(@group_security_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groupSecurityIdentifier") @template_arn = template_arn Jsii::Type.check_type(@template_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "templateArn") end |
Instance Attribute Details
#access_rights ⇒ AWSCDK::IResolvable, AWSCDK::PCAConnectorAD::CfnTemplateGroupAccessControlEntry::AccessRightsProperty (readonly)
Permissions to allow or deny an Active Directory group to enroll or autoenroll certificates issued against a template.
28 29 30 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry_props.rb', line 28 def access_rights @access_rights end |
#group_display_name ⇒ String (readonly)
Name of the Active Directory group.
This name does not need to match the group name in Active Directory.
35 36 37 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry_props.rb', line 35 def group_display_name @group_display_name end |
#group_security_identifier ⇒ String (readonly)
Security identifier (SID) of the group object from Active Directory.
The SID starts with "S-".
42 43 44 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry_props.rb', line 42 def group_security_identifier @group_security_identifier end |
#template_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) that was returned when you called CreateTemplate .
47 48 49 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry_props.rb', line 47 def template_arn @template_arn end |
Class Method Details
.jsii_properties ⇒ Object
49 50 51 52 53 54 55 56 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry_props.rb', line 49 def self.jsii_properties { :access_rights => "accessRights", :group_display_name => "groupDisplayName", :group_security_identifier => "groupSecurityIdentifier", :template_arn => "templateArn", } end |
Instance Method Details
#to_jsii ⇒ Object
58 59 60 61 62 63 64 65 66 67 |
# File 'pca_connector_ad/cfn_template_group_access_control_entry_props.rb', line 58 def to_jsii result = {} result.merge!({ "accessRights" => @access_rights, "groupDisplayName" => @group_display_name, "groupSecurityIdentifier" => @group_security_identifier, "templateArn" => @template_arn, }) result.compact end |