Class: AWSCDK::Kendra::CfnDataSource::AclConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Kendra::CfnDataSource::AclConfigurationProperty
- Defined in:
- kendra/cfn_data_source.rb
Overview
Provides information about the column that should be used for filtering the query response by groups.
Instance Attribute Summary collapse
-
#allowed_groups_column_name ⇒ String
readonly
A list of groups, separated by semi-colons, that filters a query response based on user context.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(allowed_groups_column_name:) ⇒ AclConfigurationProperty
constructor
A new instance of AclConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(allowed_groups_column_name:) ⇒ AclConfigurationProperty
Returns a new instance of AclConfigurationProperty.
685 686 687 688 |
# File 'kendra/cfn_data_source.rb', line 685 def initialize(allowed_groups_column_name:) @allowed_groups_column_name = allowed_groups_column_name Jsii::Type.check_type(@allowed_groups_column_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "allowedGroupsColumnName") end |
Instance Attribute Details
#allowed_groups_column_name ⇒ String (readonly)
A list of groups, separated by semi-colons, that filters a query response based on user context.
The document is only returned to users that are in one of the groups specified in the UserContext field of the Query operation.
696 697 698 |
# File 'kendra/cfn_data_source.rb', line 696 def allowed_groups_column_name @allowed_groups_column_name end |
Class Method Details
.jsii_properties ⇒ Object
698 699 700 701 702 |
# File 'kendra/cfn_data_source.rb', line 698 def self.jsii_properties { :allowed_groups_column_name => "allowedGroupsColumnName", } end |
Instance Method Details
#to_jsii ⇒ Object
704 705 706 707 708 709 710 |
# File 'kendra/cfn_data_source.rb', line 704 def to_jsii result = {} result.merge!({ "allowedGroupsColumnName" => @allowed_groups_column_name, }) result.compact end |