Class: AWSCDK::Kendra::CfnDataSource::ConfluenceBlogConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Kendra::CfnDataSource::ConfluenceBlogConfigurationProperty
- Defined in:
- kendra/cfn_data_source.rb
Overview
Configuration of blog settings for the Confluence data source.
Blogs are always indexed unless filtered from the index by the ExclusionPatterns or InclusionPatterns fields in the ConfluenceConfiguration object.
Instance Attribute Summary collapse
-
#blog_field_mappings ⇒ AWSCDK::IResolvable, ...
readonly
Maps attributes or field names of Confluence blogs to Amazon Kendra index field names.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(blog_field_mappings: nil) ⇒ ConfluenceBlogConfigurationProperty
constructor
A new instance of ConfluenceBlogConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(blog_field_mappings: nil) ⇒ ConfluenceBlogConfigurationProperty
Returns a new instance of ConfluenceBlogConfigurationProperty.
907 908 909 910 |
# File 'kendra/cfn_data_source.rb', line 907 def initialize(blog_field_mappings: nil) @blog_field_mappings = blog_field_mappings Jsii::Type.check_type(@blog_field_mappings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfa2VuZHJhLkNmbkRhdGFTb3VyY2UuQ29uZmx1ZW5jZUJsb2dUb0luZGV4RmllbGRNYXBwaW5nUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "blogFieldMappings") unless @blog_field_mappings.nil? end |
Instance Attribute Details
#blog_field_mappings ⇒ AWSCDK::IResolvable, ... (readonly)
Maps attributes or field names of Confluence blogs to Amazon Kendra index field names.
To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields . The Confluence data source field names must exist in your Confluence custom metadata.
If you specify the BlogFieldMappings parameter, you must specify at least one field mapping.
920 921 922 |
# File 'kendra/cfn_data_source.rb', line 920 def blog_field_mappings @blog_field_mappings end |
Class Method Details
.jsii_properties ⇒ Object
922 923 924 925 926 |
# File 'kendra/cfn_data_source.rb', line 922 def self.jsii_properties { :blog_field_mappings => "blogFieldMappings", } end |
Instance Method Details
#to_jsii ⇒ Object
928 929 930 931 932 933 934 |
# File 'kendra/cfn_data_source.rb', line 928 def to_jsii result = {} result.merge!({ "blogFieldMappings" => @blog_field_mappings, }) result.compact end |