Class: AWSCDK::Kendra::CfnDataSource::AccessControlListConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Kendra::CfnDataSource::AccessControlListConfigurationProperty
- Defined in:
- kendra/cfn_data_source.rb
Overview
Specifies access control list files for the documents in a data source.
Instance Attribute Summary collapse
-
#key_path ⇒ String?
readonly
Path to the AWS S3 bucket that contains the access control list files.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key_path: nil) ⇒ AccessControlListConfigurationProperty
constructor
A new instance of AccessControlListConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key_path: nil) ⇒ AccessControlListConfigurationProperty
Returns a new instance of AccessControlListConfigurationProperty.
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_path ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |