Class: AWSCDK::Kendra::CfnDataSource::AclConfigurationProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(allowed_groups_column_name:) ⇒ AclConfigurationProperty

Returns a new instance of AclConfigurationProperty.

Parameters:

  • allowed_groups_column_name (String)

    A list of groups, separated by semi-colons, that filters a query response based on user context.



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_nameString (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_propertiesObject



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_jsiiObject



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