Class: AWSCDK::Kendra::CfnDataSource::AccessControlListConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kendra/cfn_data_source.rb

Overview

Specifies access control list files for the documents in a data source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key_path: nil) ⇒ AccessControlListConfigurationProperty

Returns a new instance of AccessControlListConfigurationProperty.

Parameters:

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

    Path to the AWS S3 bucket that contains the access control list files.



652
653
654
655
# File 'kendra/cfn_data_source.rb', line 652

def initialize(key_path: nil)
  @key_path = key_path
  Jsii::Type.check_type(@key_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "keyPath") unless @key_path.nil?
end

Instance Attribute Details

#key_pathString? (readonly)

Path to the AWS S3 bucket that contains the access control list files.



661
662
663
# File 'kendra/cfn_data_source.rb', line 661

def key_path
  @key_path
end

Class Method Details

.jsii_propertiesObject



663
664
665
666
667
# File 'kendra/cfn_data_source.rb', line 663

def self.jsii_properties
  {
    :key_path => "keyPath",
  }
end

Instance Method Details

#to_jsiiObject



669
670
671
672
673
674
675
# File 'kendra/cfn_data_source.rb', line 669

def to_jsii
  result = {}
  result.merge!({
    "keyPath" => @key_path,
  })
  result.compact
end