File Coverage

blib/lib/Cfn/Resource/AWS/Kendra/DataSource.pm
Criterion Covered Total %
statement 218 218 100.0
branch n/a
condition n/a
subroutine 74 74 100.0
pod 0 2 0.0
total 292 294 99.3


line stmt bran cond sub pod time code
1             # AWS::Kendra::DataSource generated from spec 21.0.0
2 1     1   891 use Moose::Util::TypeConstraints;
  1         2  
  1         14  
3              
4             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::Kendra::DataSource->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::Kendra::DataSource {
9 1     1   2300 use Moose;
  1         3  
  1         8  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 5 [ 'Arn','Id' ]
15             }
16             sub supported_regions {
17 1     1 0 1034 [ 'ap-southeast-2','eu-west-1','us-east-1','us-west-2' ]
18             }
19             }
20              
21              
22             subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping',
23             as 'Cfn::Value',
24             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
25             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
26              
27             coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping',
28             from 'HashRef',
29             via {
30             if (my $f = Cfn::TypeLibrary::try_function($_)) {
31             return $f
32             } else {
33             die 'Only accepts functions';
34             }
35             },
36             from 'ArrayRef',
37             via {
38             Cfn::Value::Array->new(Value => [
39             map {
40             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping')->coerce($_)
41             } @$_
42             ]);
43             };
44              
45             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping',
46             as 'Cfn::Value';
47              
48             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping',
49             from 'HashRef',
50             via {
51             if (my $f = Cfn::TypeLibrary::try_function($_)) {
52             return $f
53             } else {
54             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping->new( %$_ );
55             }
56             };
57              
58             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping {
59 1     1   7707 use Moose;
  1         2  
  1         6  
60 1     1   6779 use MooseX::StrictConstructor;
  1         3  
  1         10  
61             extends 'Cfn::Value::TypedValue';
62            
63             has DataSourceFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64             has DateFieldFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65             has IndexFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
66             }
67              
68             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList',
69             as 'Cfn::Value';
70              
71             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList',
72             from 'HashRef',
73             via {
74             if (my $f = Cfn::TypeLibrary::try_function($_)) {
75             return $f
76             } else {
77             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList->new( %$_ );
78             }
79             };
80              
81             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList {
82 1     1   3811 use Moose;
  1         2  
  1         6  
83 1     1   6774 use MooseX::StrictConstructor;
  1         3  
  1         6  
84             extends 'Cfn::Value::TypedValue';
85            
86             has DataSourceToIndexFieldMappingList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMapping', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87             }
88             subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration',
89             as 'Cfn::Value',
90             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
91             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
92              
93             coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration',
94             from 'HashRef',
95             via {
96             if (my $f = Cfn::TypeLibrary::try_function($_)) {
97             return $f
98             } else {
99             die 'Only accepts functions';
100             }
101             },
102             from 'ArrayRef',
103             via {
104             Cfn::Value::Array->new(Value => [
105             map {
106             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration')->coerce($_)
107             } @$_
108             ]);
109             };
110              
111             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration',
112             as 'Cfn::Value';
113              
114             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration',
115             from 'HashRef',
116             via {
117             if (my $f = Cfn::TypeLibrary::try_function($_)) {
118             return $f
119             } else {
120             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration->new( %$_ );
121             }
122             };
123              
124             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration {
125 1     1   4038 use Moose;
  1         3  
  1         6  
126 1     1   6974 use MooseX::StrictConstructor;
  1         4  
  1         7  
127             extends 'Cfn::Value::TypedValue';
128            
129             has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
130             has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
131             has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
132             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
133             }
134             subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration',
135             as 'Cfn::Value',
136             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
137             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
138              
139             coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration',
140             from 'HashRef',
141             via {
142             if (my $f = Cfn::TypeLibrary::try_function($_)) {
143             return $f
144             } else {
145             die 'Only accepts functions';
146             }
147             },
148             from 'ArrayRef',
149             via {
150             Cfn::Value::Array->new(Value => [
151             map {
152             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration')->coerce($_)
153             } @$_
154             ]);
155             };
156              
157             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration',
158             as 'Cfn::Value';
159              
160             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration',
161             from 'HashRef',
162             via {
163             if (my $f = Cfn::TypeLibrary::try_function($_)) {
164             return $f
165             } else {
166             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration->new( %$_ );
167             }
168             };
169              
170             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration {
171 1     1   4083 use Moose;
  1         4  
  1         6  
172 1     1   7438 use MooseX::StrictConstructor;
  1         3  
  1         7  
173             extends 'Cfn::Value::TypedValue';
174            
175             has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
176             has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
177             has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
178             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
179             }
180              
181             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration',
182             as 'Cfn::Value';
183              
184             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration',
185             from 'HashRef',
186             via {
187             if (my $f = Cfn::TypeLibrary::try_function($_)) {
188             return $f
189             } else {
190             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration->new( %$_ );
191             }
192             };
193              
194             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration {
195 1     1   3889 use Moose;
  1         3  
  1         7  
196 1     1   7223 use MooseX::StrictConstructor;
  1         4  
  1         7  
197             extends 'Cfn::Value::TypedValue';
198            
199             has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
200             has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
201             has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
202             }
203              
204             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList',
205             as 'Cfn::Value';
206              
207             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList',
208             from 'HashRef',
209             via {
210             if (my $f = Cfn::TypeLibrary::try_function($_)) {
211             return $f
212             } else {
213             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList->new( %$_ );
214             }
215             };
216              
217             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList {
218 1     1   4102 use Moose;
  1         4  
  1         10  
219 1     1   7291 use MooseX::StrictConstructor;
  1         3  
  1         8  
220             extends 'Cfn::Value::TypedValue';
221            
222             has SalesforceKnowledgeArticleStateList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
223             }
224              
225             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList',
226             as 'Cfn::Value';
227              
228             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList',
229             from 'HashRef',
230             via {
231             if (my $f = Cfn::TypeLibrary::try_function($_)) {
232             return $f
233             } else {
234             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList->new( %$_ );
235             }
236             };
237              
238             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList {
239 1     1   3678 use Moose;
  1         2  
  1         8  
240 1     1   6971 use MooseX::StrictConstructor;
  1         3  
  1         5  
241             extends 'Cfn::Value::TypedValue';
242            
243             has SalesforceCustomKnowledgeArticleTypeConfigurationList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
244             }
245              
246             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes',
247             as 'Cfn::Value';
248              
249             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes',
250             from 'HashRef',
251             via {
252             if (my $f = Cfn::TypeLibrary::try_function($_)) {
253             return $f
254             } else {
255             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes->new( %$_ );
256             }
257             };
258              
259             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes {
260 1     1   3892 use Moose;
  1         3  
  1         8  
261 1     1   7429 use MooseX::StrictConstructor;
  1         3  
  1         7  
262             extends 'Cfn::Value::TypedValue';
263            
264             has SalesforceChatterFeedIncludeFilterTypes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
265             }
266              
267             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3Path',
268             as 'Cfn::Value';
269              
270             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3Path',
271             from 'HashRef',
272             via {
273             if (my $f = Cfn::TypeLibrary::try_function($_)) {
274             return $f
275             } else {
276             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3Path->new( %$_ );
277             }
278             };
279              
280             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3Path {
281 1     1   3948 use Moose;
  1         3  
  1         8  
282 1     1   7308 use MooseX::StrictConstructor;
  1         2  
  1         6  
283             extends 'Cfn::Value::TypedValue';
284            
285             has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
286             has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
287             }
288              
289             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUserList',
290             as 'Cfn::Value';
291              
292             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUserList',
293             from 'HashRef',
294             via {
295             if (my $f = Cfn::TypeLibrary::try_function($_)) {
296             return $f
297             } else {
298             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUserList->new( %$_ );
299             }
300             };
301              
302             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUserList {
303 1     1   3799 use Moose;
  1         3  
  1         8  
304 1     1   7388 use MooseX::StrictConstructor;
  1         4  
  1         7  
305             extends 'Cfn::Value::TypedValue';
306            
307             has OneDriveUserList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
308             }
309              
310             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings',
311             as 'Cfn::Value';
312              
313             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings',
314             from 'HashRef',
315             via {
316             if (my $f = Cfn::TypeLibrary::try_function($_)) {
317             return $f
318             } else {
319             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings->new( %$_ );
320             }
321             };
322              
323             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings {
324 1     1   3825 use Moose;
  1         2  
  1         7  
325 1     1   7339 use MooseX::StrictConstructor;
  1         4  
  1         8  
326             extends 'Cfn::Value::TypedValue';
327            
328             has DataSourceInclusionsExclusionsStrings => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
329             }
330              
331             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ChangeDetectingColumns',
332             as 'Cfn::Value';
333              
334             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ChangeDetectingColumns',
335             from 'HashRef',
336             via {
337             if (my $f = Cfn::TypeLibrary::try_function($_)) {
338             return $f
339             } else {
340             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ChangeDetectingColumns->new( %$_ );
341             }
342             };
343              
344             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ChangeDetectingColumns {
345 1     1   3709 use Moose;
  1         4  
  1         7  
346 1     1   7049 use MooseX::StrictConstructor;
  1         3  
  1         7  
347             extends 'Cfn::Value::TypedValue';
348            
349             has ChangeDetectingColumns => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
350             }
351              
352             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SqlConfiguration',
353             as 'Cfn::Value';
354              
355             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SqlConfiguration',
356             from 'HashRef',
357             via {
358             if (my $f = Cfn::TypeLibrary::try_function($_)) {
359             return $f
360             } else {
361             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SqlConfiguration->new( %$_ );
362             }
363             };
364              
365             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SqlConfiguration {
366 1     1   3879 use Moose;
  1         5  
  1         8  
367 1     1   7574 use MooseX::StrictConstructor;
  1         3  
  1         8  
368             extends 'Cfn::Value::TypedValue';
369            
370             has QueryIdentifiersEnclosingOption => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
371             }
372              
373             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration',
374             as 'Cfn::Value';
375              
376             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration',
377             from 'HashRef',
378             via {
379             if (my $f = Cfn::TypeLibrary::try_function($_)) {
380             return $f
381             } else {
382             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration->new( %$_ );
383             }
384             };
385              
386             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration {
387 1     1   4199 use Moose;
  1         4  
  1         7  
388 1     1   7491 use MooseX::StrictConstructor;
  1         2  
  1         9  
389             extends 'Cfn::Value::TypedValue';
390            
391             has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
392             has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
393             has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
394             has ExcludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
395             has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
396             has IncludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
397             }
398              
399             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration',
400             as 'Cfn::Value';
401              
402             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration',
403             from 'HashRef',
404             via {
405             if (my $f = Cfn::TypeLibrary::try_function($_)) {
406             return $f
407             } else {
408             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration->new( %$_ );
409             }
410             };
411              
412             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration {
413 1     1   3877 use Moose;
  1         4  
  1         6  
414 1     1   7325 use MooseX::StrictConstructor;
  1         3  
  1         6  
415             extends 'Cfn::Value::TypedValue';
416            
417             has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
418             has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
419             has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
420             has ExcludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
421             has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
422             has IncludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
423             }
424              
425             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList',
426             as 'Cfn::Value';
427              
428             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList',
429             from 'HashRef',
430             via {
431             if (my $f = Cfn::TypeLibrary::try_function($_)) {
432             return $f
433             } else {
434             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList->new( %$_ );
435             }
436             };
437              
438             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList {
439 1     1   3944 use Moose;
  1         3  
  1         5  
440 1     1   7411 use MooseX::StrictConstructor;
  1         2  
  1         9  
441             extends 'Cfn::Value::TypedValue';
442            
443             has SalesforceStandardObjectConfigurationList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
444             }
445              
446             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration',
447             as 'Cfn::Value';
448              
449             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration',
450             from 'HashRef',
451             via {
452             if (my $f = Cfn::TypeLibrary::try_function($_)) {
453             return $f
454             } else {
455             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration->new( %$_ );
456             }
457             };
458              
459             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration {
460 1     1   4165 use Moose;
  1         3  
  1         8  
461 1     1   7642 use MooseX::StrictConstructor;
  1         4  
  1         8  
462             extends 'Cfn::Value::TypedValue';
463            
464             has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
465             has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
466             }
467              
468             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration',
469             as 'Cfn::Value';
470              
471             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration',
472             from 'HashRef',
473             via {
474             if (my $f = Cfn::TypeLibrary::try_function($_)) {
475             return $f
476             } else {
477             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration->new( %$_ );
478             }
479             };
480              
481             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration {
482 1     1   3783 use Moose;
  1         11  
  1         8  
483 1     1   7341 use MooseX::StrictConstructor;
  1         3  
  1         10  
484             extends 'Cfn::Value::TypedValue';
485            
486             has CustomKnowledgeArticleTypeConfigurations => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
487             has IncludedStates => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
488             has StandardKnowledgeArticleTypeConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
489             }
490              
491             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration',
492             as 'Cfn::Value';
493              
494             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration',
495             from 'HashRef',
496             via {
497             if (my $f = Cfn::TypeLibrary::try_function($_)) {
498             return $f
499             } else {
500             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration->new( %$_ );
501             }
502             };
503              
504             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration {
505 1     1   3897 use Moose;
  1         4  
  1         8  
506 1     1   7924 use MooseX::StrictConstructor;
  1         3  
  1         8  
507             extends 'Cfn::Value::TypedValue';
508            
509             has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
510             has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
511             has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
512             has IncludeFilterTypes => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
513             }
514              
515             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUsers',
516             as 'Cfn::Value';
517              
518             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUsers',
519             from 'HashRef',
520             via {
521             if (my $f = Cfn::TypeLibrary::try_function($_)) {
522             return $f
523             } else {
524             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUsers->new( %$_ );
525             }
526             };
527              
528             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUsers {
529 1     1   3884 use Moose;
  1         4  
  1         7  
530 1     1   7170 use MooseX::StrictConstructor;
  1         4  
  1         6  
531             extends 'Cfn::Value::TypedValue';
532            
533             has OneDriveUserList => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUserList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
534             has OneDriveUserS3Path => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3Path', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
535             }
536              
537             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DocumentsMetadataConfiguration',
538             as 'Cfn::Value';
539              
540             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DocumentsMetadataConfiguration',
541             from 'HashRef',
542             via {
543             if (my $f = Cfn::TypeLibrary::try_function($_)) {
544             return $f
545             } else {
546             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DocumentsMetadataConfiguration->new( %$_ );
547             }
548             };
549              
550             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DocumentsMetadataConfiguration {
551 1     1   3869 use Moose;
  1         2  
  1         7  
552 1     1   8218 use MooseX::StrictConstructor;
  1         4  
  1         6  
553             extends 'Cfn::Value::TypedValue';
554            
555             has S3Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
556             }
557              
558             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration',
559             as 'Cfn::Value';
560              
561             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration',
562             from 'HashRef',
563             via {
564             if (my $f = Cfn::TypeLibrary::try_function($_)) {
565             return $f
566             } else {
567             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceVpcConfiguration->new( %$_ );
568             }
569             };
570              
571             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceVpcConfiguration {
572 1     1   3723 use Moose;
  1         3  
  1         6  
573 1     1   7796 use MooseX::StrictConstructor;
  1         4  
  1         7  
574             extends 'Cfn::Value::TypedValue';
575            
576             has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
577             has SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
578             }
579              
580             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConnectionConfiguration',
581             as 'Cfn::Value';
582              
583             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConnectionConfiguration',
584             from 'HashRef',
585             via {
586             if (my $f = Cfn::TypeLibrary::try_function($_)) {
587             return $f
588             } else {
589             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConnectionConfiguration->new( %$_ );
590             }
591             };
592              
593             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConnectionConfiguration {
594 1     1   3877 use Moose;
  1         3  
  1         6  
595 1     1   7230 use MooseX::StrictConstructor;
  1         4  
  1         7  
596             extends 'Cfn::Value::TypedValue';
597            
598             has DatabaseHost => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
599             has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
600             has DatabasePort => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
601             has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
602             has TableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
603             }
604              
605             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ColumnConfiguration',
606             as 'Cfn::Value';
607              
608             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ColumnConfiguration',
609             from 'HashRef',
610             via {
611             if (my $f = Cfn::TypeLibrary::try_function($_)) {
612             return $f
613             } else {
614             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ColumnConfiguration->new( %$_ );
615             }
616             };
617              
618             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ColumnConfiguration {
619 1     1   3789 use Moose;
  1         3  
  1         8  
620 1     1   7762 use MooseX::StrictConstructor;
  1         4  
  1         8  
621             extends 'Cfn::Value::TypedValue';
622            
623             has ChangeDetectingColumns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ChangeDetectingColumns', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
624             has DocumentDataColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
625             has DocumentIdColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
626             has DocumentTitleColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
627             has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
628             }
629              
630             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AclConfiguration',
631             as 'Cfn::Value';
632              
633             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AclConfiguration',
634             from 'HashRef',
635             via {
636             if (my $f = Cfn::TypeLibrary::try_function($_)) {
637             return $f
638             } else {
639             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AclConfiguration->new( %$_ );
640             }
641             };
642              
643             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AclConfiguration {
644 1     1   3867 use Moose;
  1         3  
  1         8  
645 1     1   7302 use MooseX::StrictConstructor;
  1         3  
  1         7  
646             extends 'Cfn::Value::TypedValue';
647            
648             has AllowedGroupsColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
649             }
650              
651             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AccessControlListConfiguration',
652             as 'Cfn::Value';
653              
654             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AccessControlListConfiguration',
655             from 'HashRef',
656             via {
657             if (my $f = Cfn::TypeLibrary::try_function($_)) {
658             return $f
659             } else {
660             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AccessControlListConfiguration->new( %$_ );
661             }
662             };
663              
664             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AccessControlListConfiguration {
665 1     1   3741 use Moose;
  1         3  
  1         7  
666 1     1   7473 use MooseX::StrictConstructor;
  1         3  
  1         8  
667             extends 'Cfn::Value::TypedValue';
668            
669             has KeyPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
670             }
671              
672             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SharePointConfiguration',
673             as 'Cfn::Value';
674              
675             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SharePointConfiguration',
676             from 'HashRef',
677             via {
678             if (my $f = Cfn::TypeLibrary::try_function($_)) {
679             return $f
680             } else {
681             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SharePointConfiguration->new( %$_ );
682             }
683             };
684              
685             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SharePointConfiguration {
686 1     1   3817 use Moose;
  1         3  
  1         7  
687 1     1   7448 use MooseX::StrictConstructor;
  1         3  
  1         8  
688             extends 'Cfn::Value::TypedValue';
689            
690             has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
691             has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
692             has ExclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
693             has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
694             has InclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
695             has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
696             has SharePointVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
697             has Urls => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
698             has UseChangeLog => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
699             has VpcConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
700             }
701              
702             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowConfiguration',
703             as 'Cfn::Value';
704              
705             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowConfiguration',
706             from 'HashRef',
707             via {
708             if (my $f = Cfn::TypeLibrary::try_function($_)) {
709             return $f
710             } else {
711             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowConfiguration->new( %$_ );
712             }
713             };
714              
715             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowConfiguration {
716 1     1   4421 use Moose;
  1         2  
  1         7  
717 1     1   7654 use MooseX::StrictConstructor;
  1         2  
  1         8  
718             extends 'Cfn::Value::TypedValue';
719            
720             has HostUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
721             has KnowledgeArticleConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
722             has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
723             has ServiceCatalogConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
724             has ServiceNowBuildVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
725             }
726              
727             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceConfiguration',
728             as 'Cfn::Value';
729              
730             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceConfiguration',
731             from 'HashRef',
732             via {
733             if (my $f = Cfn::TypeLibrary::try_function($_)) {
734             return $f
735             } else {
736             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceConfiguration->new( %$_ );
737             }
738             };
739              
740             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceConfiguration {
741 1     1   4072 use Moose;
  1         4  
  1         7  
742 1     1   7474 use MooseX::StrictConstructor;
  1         4  
  1         7  
743             extends 'Cfn::Value::TypedValue';
744            
745             has ChatterFeedConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
746             has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
747             has ExcludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
748             has IncludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
749             has KnowledgeArticleConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
750             has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
751             has ServerUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
752             has StandardObjectAttachmentConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
753             has StandardObjectConfigurations => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
754             }
755              
756             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3DataSourceConfiguration',
757             as 'Cfn::Value';
758              
759             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3DataSourceConfiguration',
760             from 'HashRef',
761             via {
762             if (my $f = Cfn::TypeLibrary::try_function($_)) {
763             return $f
764             } else {
765             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3DataSourceConfiguration->new( %$_ );
766             }
767             };
768              
769             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3DataSourceConfiguration {
770 1     1   3919 use Moose;
  1         2  
  1         7  
771 1     1   7855 use MooseX::StrictConstructor;
  1         4  
  1         7  
772             extends 'Cfn::Value::TypedValue';
773            
774             has AccessControlListConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AccessControlListConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
775             has BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
776             has DocumentsMetadataConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DocumentsMetadataConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
777             has ExclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
778             has InclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
779             has InclusionPrefixes => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
780             }
781              
782             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveConfiguration',
783             as 'Cfn::Value';
784              
785             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveConfiguration',
786             from 'HashRef',
787             via {
788             if (my $f = Cfn::TypeLibrary::try_function($_)) {
789             return $f
790             } else {
791             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveConfiguration->new( %$_ );
792             }
793             };
794              
795             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveConfiguration {
796 1     1   4231 use Moose;
  1         3  
  1         7  
797 1     1   7662 use MooseX::StrictConstructor;
  1         2  
  1         7  
798             extends 'Cfn::Value::TypedValue';
799            
800             has ExclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
801             has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
802             has InclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
803             has OneDriveUsers => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUsers', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
804             has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
805             has TenantDomain => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
806             }
807              
808             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DatabaseConfiguration',
809             as 'Cfn::Value';
810              
811             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DatabaseConfiguration',
812             from 'HashRef',
813             via {
814             if (my $f = Cfn::TypeLibrary::try_function($_)) {
815             return $f
816             } else {
817             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DatabaseConfiguration->new( %$_ );
818             }
819             };
820              
821             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DatabaseConfiguration {
822 1     1   3936 use Moose;
  1         3  
  1         7  
823 1     1   7210 use MooseX::StrictConstructor;
  1         3  
  1         9  
824             extends 'Cfn::Value::TypedValue';
825            
826             has AclConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AclConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
827             has ColumnConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ColumnConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
828             has ConnectionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConnectionConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
829             has DatabaseEngineType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
830             has SqlConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SqlConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
831             has VpcConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
832             }
833              
834             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::TagList',
835             as 'Cfn::Value';
836              
837             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::TagList',
838             from 'HashRef',
839             via {
840             if (my $f = Cfn::TypeLibrary::try_function($_)) {
841             return $f
842             } else {
843             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::TagList->new( %$_ );
844             }
845             };
846              
847             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::TagList {
848 1     1   3782 use Moose;
  1         2  
  1         6  
849 1     1   7164 use MooseX::StrictConstructor;
  1         3  
  1         8  
850             extends 'Cfn::Value::TypedValue';
851            
852             has TagList => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
853             }
854              
855             subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceConfiguration',
856             as 'Cfn::Value';
857              
858             coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceConfiguration',
859             from 'HashRef',
860             via {
861             if (my $f = Cfn::TypeLibrary::try_function($_)) {
862             return $f
863             } else {
864             return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceConfiguration->new( %$_ );
865             }
866             };
867              
868             package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceConfiguration {
869 1     1   3674 use Moose;
  1         2  
  1         9  
870 1     1   6899 use MooseX::StrictConstructor;
  1         2  
  1         6  
871             extends 'Cfn::Value::TypedValue';
872            
873             has DatabaseConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DatabaseConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
874             has OneDriveConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
875             has S3Configuration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3DataSourceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
876             has SalesforceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
877             has ServiceNowConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
878             has SharePointConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SharePointConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
879             }
880              
881             package Cfn::Resource::Properties::AWS::Kendra::DataSource {
882 1     1   3582 use Moose;
  1         3  
  1         7  
883 1     1   7106 use MooseX::StrictConstructor;
  1         3  
  1         7  
884             extends 'Cfn::Resource::Properties';
885            
886             has DataSourceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
887             has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
888             has IndexId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
889             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
890             has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
891             has Schedule => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
892             has Tags => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::TagList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
893             has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
894             }
895              
896             1;
897             ### main pod documentation begin ###
898              
899             =encoding UTF-8
900              
901             =head1 NAME
902              
903             Cfn::Resource::AWS::Kendra::DataSource - Cfn resource for AWS::Kendra::DataSource
904              
905             =head1 DESCRIPTION
906              
907             This module implements a Perl module that represents the CloudFormation object AWS::Kendra::DataSource.
908              
909             See L<Cfn> for more information on how to use it.
910              
911             =head1 AUTHOR
912              
913             Jose Luis Martinez
914             CAPSiDE
915             jlmartinez@capside.com
916              
917             =head1 COPYRIGHT and LICENSE
918              
919             Copyright (c) 2013 by CAPSiDE
920             This code is distributed under the Apache 2 License. The full text of the
921             license can be found in the LICENSE file included with this module.
922              
923             =cut