| 1 | # AWS::Kendra::DataSource generated from spec 34.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 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 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'Arn','Id' ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ '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 | use Moose; | ||
| 60 | use MooseX::StrictConstructor; | ||
| 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 | use Moose; | ||
| 83 | use MooseX::StrictConstructor; | ||
| 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 | use Moose; | ||
| 126 | use MooseX::StrictConstructor; | ||
| 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::ConfluenceSpaceToIndexFieldMapping', | ||
| 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::ConfluenceSpaceToIndexFieldMapping', | ||
| 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::ConfluenceSpaceToIndexFieldMapping')->coerce($_) | ||
| 153 | } @$_ | ||
| 154 | ]); | ||
| 155 | }; | ||
| 156 | |||
| 157 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceToIndexFieldMapping', | ||
| 158 | as 'Cfn::Value'; | ||
| 159 | |||
| 160 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceToIndexFieldMapping', | ||
| 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::ConfluenceSpaceToIndexFieldMapping->new( %$_ ); | ||
| 167 | } | ||
| 168 | }; | ||
| 169 | |||
| 170 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceSpaceToIndexFieldMapping { | ||
| 171 | use Moose; | ||
| 172 | use MooseX::StrictConstructor; | ||
| 173 | extends 'Cfn::Value::TypedValue'; | ||
| 174 | |||
| 175 | has DataSourceFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 176 | has DateFieldFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 177 | has IndexFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 178 | } | ||
| 179 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageToIndexFieldMapping', | ||
| 180 | as 'Cfn::Value', | ||
| 181 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 182 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 183 | |||
| 184 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageToIndexFieldMapping', | ||
| 185 | from 'HashRef', | ||
| 186 | via { | ||
| 187 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 188 | return $f | ||
| 189 | } else { | ||
| 190 | die 'Only accepts functions'; | ||
| 191 | } | ||
| 192 | }, | ||
| 193 | from 'ArrayRef', | ||
| 194 | via { | ||
| 195 | Cfn::Value::Array->new(Value => [ | ||
| 196 | map { | ||
| 197 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageToIndexFieldMapping')->coerce($_) | ||
| 198 | } @$_ | ||
| 199 | ]); | ||
| 200 | }; | ||
| 201 | |||
| 202 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageToIndexFieldMapping', | ||
| 203 | as 'Cfn::Value'; | ||
| 204 | |||
| 205 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageToIndexFieldMapping', | ||
| 206 | from 'HashRef', | ||
| 207 | via { | ||
| 208 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 209 | return $f | ||
| 210 | } else { | ||
| 211 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluencePageToIndexFieldMapping->new( %$_ ); | ||
| 212 | } | ||
| 213 | }; | ||
| 214 | |||
| 215 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluencePageToIndexFieldMapping { | ||
| 216 | use Moose; | ||
| 217 | use MooseX::StrictConstructor; | ||
| 218 | extends 'Cfn::Value::TypedValue'; | ||
| 219 | |||
| 220 | has DataSourceFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 221 | has DateFieldFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 222 | has IndexFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 223 | } | ||
| 224 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogToIndexFieldMapping', | ||
| 225 | as 'Cfn::Value', | ||
| 226 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 227 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 228 | |||
| 229 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogToIndexFieldMapping', | ||
| 230 | from 'HashRef', | ||
| 231 | via { | ||
| 232 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 233 | return $f | ||
| 234 | } else { | ||
| 235 | die 'Only accepts functions'; | ||
| 236 | } | ||
| 237 | }, | ||
| 238 | from 'ArrayRef', | ||
| 239 | via { | ||
| 240 | Cfn::Value::Array->new(Value => [ | ||
| 241 | map { | ||
| 242 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogToIndexFieldMapping')->coerce($_) | ||
| 243 | } @$_ | ||
| 244 | ]); | ||
| 245 | }; | ||
| 246 | |||
| 247 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogToIndexFieldMapping', | ||
| 248 | as 'Cfn::Value'; | ||
| 249 | |||
| 250 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogToIndexFieldMapping', | ||
| 251 | from 'HashRef', | ||
| 252 | via { | ||
| 253 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 254 | return $f | ||
| 255 | } else { | ||
| 256 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceBlogToIndexFieldMapping->new( %$_ ); | ||
| 257 | } | ||
| 258 | }; | ||
| 259 | |||
| 260 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceBlogToIndexFieldMapping { | ||
| 261 | use Moose; | ||
| 262 | use MooseX::StrictConstructor; | ||
| 263 | extends 'Cfn::Value::TypedValue'; | ||
| 264 | |||
| 265 | has DataSourceFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 266 | has DateFieldFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 267 | has IndexFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 268 | } | ||
| 269 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentToIndexFieldMapping', | ||
| 270 | as 'Cfn::Value', | ||
| 271 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 272 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 273 | |||
| 274 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentToIndexFieldMapping', | ||
| 275 | from 'HashRef', | ||
| 276 | via { | ||
| 277 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 278 | return $f | ||
| 279 | } else { | ||
| 280 | die 'Only accepts functions'; | ||
| 281 | } | ||
| 282 | }, | ||
| 283 | from 'ArrayRef', | ||
| 284 | via { | ||
| 285 | Cfn::Value::Array->new(Value => [ | ||
| 286 | map { | ||
| 287 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentToIndexFieldMapping')->coerce($_) | ||
| 288 | } @$_ | ||
| 289 | ]); | ||
| 290 | }; | ||
| 291 | |||
| 292 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentToIndexFieldMapping', | ||
| 293 | as 'Cfn::Value'; | ||
| 294 | |||
| 295 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentToIndexFieldMapping', | ||
| 296 | from 'HashRef', | ||
| 297 | via { | ||
| 298 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 299 | return $f | ||
| 300 | } else { | ||
| 301 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceAttachmentToIndexFieldMapping->new( %$_ ); | ||
| 302 | } | ||
| 303 | }; | ||
| 304 | |||
| 305 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceAttachmentToIndexFieldMapping { | ||
| 306 | use Moose; | ||
| 307 | use MooseX::StrictConstructor; | ||
| 308 | extends 'Cfn::Value::TypedValue'; | ||
| 309 | |||
| 310 | has DataSourceFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 311 | has DateFieldFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 312 | has IndexFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 313 | } | ||
| 314 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration', | ||
| 315 | as 'Cfn::Value', | ||
| 316 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 317 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 318 | |||
| 319 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration', | ||
| 320 | from 'HashRef', | ||
| 321 | via { | ||
| 322 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 323 | return $f | ||
| 324 | } else { | ||
| 325 | die 'Only accepts functions'; | ||
| 326 | } | ||
| 327 | }, | ||
| 328 | from 'ArrayRef', | ||
| 329 | via { | ||
| 330 | Cfn::Value::Array->new(Value => [ | ||
| 331 | map { | ||
| 332 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration')->coerce($_) | ||
| 333 | } @$_ | ||
| 334 | ]); | ||
| 335 | }; | ||
| 336 | |||
| 337 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration', | ||
| 338 | as 'Cfn::Value'; | ||
| 339 | |||
| 340 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration', | ||
| 341 | from 'HashRef', | ||
| 342 | via { | ||
| 343 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 344 | return $f | ||
| 345 | } else { | ||
| 346 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration->new( %$_ ); | ||
| 347 | } | ||
| 348 | }; | ||
| 349 | |||
| 350 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration { | ||
| 351 | use Moose; | ||
| 352 | use MooseX::StrictConstructor; | ||
| 353 | extends 'Cfn::Value::TypedValue'; | ||
| 354 | |||
| 355 | has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 356 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 357 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 358 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 359 | } | ||
| 360 | |||
| 361 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration', | ||
| 362 | as 'Cfn::Value'; | ||
| 363 | |||
| 364 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration', | ||
| 365 | from 'HashRef', | ||
| 366 | via { | ||
| 367 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 368 | return $f | ||
| 369 | } else { | ||
| 370 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration->new( %$_ ); | ||
| 371 | } | ||
| 372 | }; | ||
| 373 | |||
| 374 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration { | ||
| 375 | use Moose; | ||
| 376 | use MooseX::StrictConstructor; | ||
| 377 | extends 'Cfn::Value::TypedValue'; | ||
| 378 | |||
| 379 | has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 380 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 381 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 382 | } | ||
| 383 | |||
| 384 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList', | ||
| 385 | as 'Cfn::Value'; | ||
| 386 | |||
| 387 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList', | ||
| 388 | from 'HashRef', | ||
| 389 | via { | ||
| 390 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 391 | return $f | ||
| 392 | } else { | ||
| 393 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList->new( %$_ ); | ||
| 394 | } | ||
| 395 | }; | ||
| 396 | |||
| 397 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList { | ||
| 398 | use Moose; | ||
| 399 | use MooseX::StrictConstructor; | ||
| 400 | extends 'Cfn::Value::TypedValue'; | ||
| 401 | |||
| 402 | has SalesforceKnowledgeArticleStateList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 403 | } | ||
| 404 | |||
| 405 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList', | ||
| 406 | as 'Cfn::Value'; | ||
| 407 | |||
| 408 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList', | ||
| 409 | from 'HashRef', | ||
| 410 | via { | ||
| 411 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 412 | return $f | ||
| 413 | } else { | ||
| 414 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList->new( %$_ ); | ||
| 415 | } | ||
| 416 | }; | ||
| 417 | |||
| 418 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList { | ||
| 419 | use Moose; | ||
| 420 | use MooseX::StrictConstructor; | ||
| 421 | extends 'Cfn::Value::TypedValue'; | ||
| 422 | |||
| 423 | has SalesforceCustomKnowledgeArticleTypeConfigurationList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 424 | } | ||
| 425 | |||
| 426 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes', | ||
| 427 | as 'Cfn::Value'; | ||
| 428 | |||
| 429 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes', | ||
| 430 | from 'HashRef', | ||
| 431 | via { | ||
| 432 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 433 | return $f | ||
| 434 | } else { | ||
| 435 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes->new( %$_ ); | ||
| 436 | } | ||
| 437 | }; | ||
| 438 | |||
| 439 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes { | ||
| 440 | use Moose; | ||
| 441 | use MooseX::StrictConstructor; | ||
| 442 | extends 'Cfn::Value::TypedValue'; | ||
| 443 | |||
| 444 | has SalesforceChatterFeedIncludeFilterTypes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 445 | } | ||
| 446 | |||
| 447 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3Path', | ||
| 448 | as 'Cfn::Value'; | ||
| 449 | |||
| 450 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3Path', | ||
| 451 | from 'HashRef', | ||
| 452 | via { | ||
| 453 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 454 | return $f | ||
| 455 | } else { | ||
| 456 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3Path->new( %$_ ); | ||
| 457 | } | ||
| 458 | }; | ||
| 459 | |||
| 460 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3Path { | ||
| 461 | use Moose; | ||
| 462 | use MooseX::StrictConstructor; | ||
| 463 | extends 'Cfn::Value::TypedValue'; | ||
| 464 | |||
| 465 | has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 466 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 467 | } | ||
| 468 | |||
| 469 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUserList', | ||
| 470 | as 'Cfn::Value'; | ||
| 471 | |||
| 472 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUserList', | ||
| 473 | from 'HashRef', | ||
| 474 | via { | ||
| 475 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 476 | return $f | ||
| 477 | } else { | ||
| 478 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUserList->new( %$_ ); | ||
| 479 | } | ||
| 480 | }; | ||
| 481 | |||
| 482 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUserList { | ||
| 483 | use Moose; | ||
| 484 | use MooseX::StrictConstructor; | ||
| 485 | extends 'Cfn::Value::TypedValue'; | ||
| 486 | |||
| 487 | has OneDriveUserList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 488 | } | ||
| 489 | |||
| 490 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', | ||
| 491 | as 'Cfn::Value'; | ||
| 492 | |||
| 493 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', | ||
| 494 | from 'HashRef', | ||
| 495 | via { | ||
| 496 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 497 | return $f | ||
| 498 | } else { | ||
| 499 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings->new( %$_ ); | ||
| 500 | } | ||
| 501 | }; | ||
| 502 | |||
| 503 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings { | ||
| 504 | use Moose; | ||
| 505 | use MooseX::StrictConstructor; | ||
| 506 | extends 'Cfn::Value::TypedValue'; | ||
| 507 | |||
| 508 | has DataSourceInclusionsExclusionsStrings => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 509 | } | ||
| 510 | |||
| 511 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceList', | ||
| 512 | as 'Cfn::Value'; | ||
| 513 | |||
| 514 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceList', | ||
| 515 | from 'HashRef', | ||
| 516 | via { | ||
| 517 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 518 | return $f | ||
| 519 | } else { | ||
| 520 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceSpaceList->new( %$_ ); | ||
| 521 | } | ||
| 522 | }; | ||
| 523 | |||
| 524 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceSpaceList { | ||
| 525 | use Moose; | ||
| 526 | use MooseX::StrictConstructor; | ||
| 527 | extends 'Cfn::Value::TypedValue'; | ||
| 528 | |||
| 529 | has ConfluenceSpaceList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 530 | } | ||
| 531 | |||
| 532 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceFieldMappingsList', | ||
| 533 | as 'Cfn::Value'; | ||
| 534 | |||
| 535 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceFieldMappingsList', | ||
| 536 | from 'HashRef', | ||
| 537 | via { | ||
| 538 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 539 | return $f | ||
| 540 | } else { | ||
| 541 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceSpaceFieldMappingsList->new( %$_ ); | ||
| 542 | } | ||
| 543 | }; | ||
| 544 | |||
| 545 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceSpaceFieldMappingsList { | ||
| 546 | use Moose; | ||
| 547 | use MooseX::StrictConstructor; | ||
| 548 | extends 'Cfn::Value::TypedValue'; | ||
| 549 | |||
| 550 | has ConfluenceSpaceFieldMappingsList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceToIndexFieldMapping', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 551 | } | ||
| 552 | |||
| 553 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageFieldMappingsList', | ||
| 554 | as 'Cfn::Value'; | ||
| 555 | |||
| 556 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageFieldMappingsList', | ||
| 557 | from 'HashRef', | ||
| 558 | via { | ||
| 559 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 560 | return $f | ||
| 561 | } else { | ||
| 562 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluencePageFieldMappingsList->new( %$_ ); | ||
| 563 | } | ||
| 564 | }; | ||
| 565 | |||
| 566 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluencePageFieldMappingsList { | ||
| 567 | use Moose; | ||
| 568 | use MooseX::StrictConstructor; | ||
| 569 | extends 'Cfn::Value::TypedValue'; | ||
| 570 | |||
| 571 | has ConfluencePageFieldMappingsList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageToIndexFieldMapping', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 572 | } | ||
| 573 | |||
| 574 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogFieldMappingsList', | ||
| 575 | as 'Cfn::Value'; | ||
| 576 | |||
| 577 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogFieldMappingsList', | ||
| 578 | from 'HashRef', | ||
| 579 | via { | ||
| 580 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 581 | return $f | ||
| 582 | } else { | ||
| 583 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceBlogFieldMappingsList->new( %$_ ); | ||
| 584 | } | ||
| 585 | }; | ||
| 586 | |||
| 587 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceBlogFieldMappingsList { | ||
| 588 | use Moose; | ||
| 589 | use MooseX::StrictConstructor; | ||
| 590 | extends 'Cfn::Value::TypedValue'; | ||
| 591 | |||
| 592 | has ConfluenceBlogFieldMappingsList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogToIndexFieldMapping', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 593 | } | ||
| 594 | |||
| 595 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentFieldMappingsList', | ||
| 596 | as 'Cfn::Value'; | ||
| 597 | |||
| 598 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentFieldMappingsList', | ||
| 599 | from 'HashRef', | ||
| 600 | via { | ||
| 601 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 602 | return $f | ||
| 603 | } else { | ||
| 604 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceAttachmentFieldMappingsList->new( %$_ ); | ||
| 605 | } | ||
| 606 | }; | ||
| 607 | |||
| 608 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceAttachmentFieldMappingsList { | ||
| 609 | use Moose; | ||
| 610 | use MooseX::StrictConstructor; | ||
| 611 | extends 'Cfn::Value::TypedValue'; | ||
| 612 | |||
| 613 | has ConfluenceAttachmentFieldMappingsList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentToIndexFieldMapping', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 614 | } | ||
| 615 | |||
| 616 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ChangeDetectingColumns', | ||
| 617 | as 'Cfn::Value'; | ||
| 618 | |||
| 619 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ChangeDetectingColumns', | ||
| 620 | from 'HashRef', | ||
| 621 | via { | ||
| 622 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 623 | return $f | ||
| 624 | } else { | ||
| 625 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ChangeDetectingColumns->new( %$_ ); | ||
| 626 | } | ||
| 627 | }; | ||
| 628 | |||
| 629 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ChangeDetectingColumns { | ||
| 630 | use Moose; | ||
| 631 | use MooseX::StrictConstructor; | ||
| 632 | extends 'Cfn::Value::TypedValue'; | ||
| 633 | |||
| 634 | has ChangeDetectingColumns => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 635 | } | ||
| 636 | |||
| 637 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SqlConfiguration', | ||
| 638 | as 'Cfn::Value'; | ||
| 639 | |||
| 640 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SqlConfiguration', | ||
| 641 | from 'HashRef', | ||
| 642 | via { | ||
| 643 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 644 | return $f | ||
| 645 | } else { | ||
| 646 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SqlConfiguration->new( %$_ ); | ||
| 647 | } | ||
| 648 | }; | ||
| 649 | |||
| 650 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SqlConfiguration { | ||
| 651 | use Moose; | ||
| 652 | use MooseX::StrictConstructor; | ||
| 653 | extends 'Cfn::Value::TypedValue'; | ||
| 654 | |||
| 655 | has QueryIdentifiersEnclosingOption => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 656 | } | ||
| 657 | |||
| 658 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration', | ||
| 659 | as 'Cfn::Value'; | ||
| 660 | |||
| 661 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration', | ||
| 662 | from 'HashRef', | ||
| 663 | via { | ||
| 664 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 665 | return $f | ||
| 666 | } else { | ||
| 667 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration->new( %$_ ); | ||
| 668 | } | ||
| 669 | }; | ||
| 670 | |||
| 671 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration { | ||
| 672 | use Moose; | ||
| 673 | use MooseX::StrictConstructor; | ||
| 674 | extends 'Cfn::Value::TypedValue'; | ||
| 675 | |||
| 676 | has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 677 | has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 678 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 679 | has ExcludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 680 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 681 | has IncludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 682 | } | ||
| 683 | |||
| 684 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration', | ||
| 685 | as 'Cfn::Value'; | ||
| 686 | |||
| 687 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration', | ||
| 688 | from 'HashRef', | ||
| 689 | via { | ||
| 690 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 691 | return $f | ||
| 692 | } else { | ||
| 693 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration->new( %$_ ); | ||
| 694 | } | ||
| 695 | }; | ||
| 696 | |||
| 697 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration { | ||
| 698 | use Moose; | ||
| 699 | use MooseX::StrictConstructor; | ||
| 700 | extends 'Cfn::Value::TypedValue'; | ||
| 701 | |||
| 702 | has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 703 | has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 704 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 705 | has ExcludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 706 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 707 | has IncludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 708 | } | ||
| 709 | |||
| 710 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList', | ||
| 711 | as 'Cfn::Value'; | ||
| 712 | |||
| 713 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList', | ||
| 714 | from 'HashRef', | ||
| 715 | via { | ||
| 716 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 717 | return $f | ||
| 718 | } else { | ||
| 719 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList->new( %$_ ); | ||
| 720 | } | ||
| 721 | }; | ||
| 722 | |||
| 723 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList { | ||
| 724 | use Moose; | ||
| 725 | use MooseX::StrictConstructor; | ||
| 726 | extends 'Cfn::Value::TypedValue'; | ||
| 727 | |||
| 728 | has SalesforceStandardObjectConfigurationList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 729 | } | ||
| 730 | |||
| 731 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration', | ||
| 732 | as 'Cfn::Value'; | ||
| 733 | |||
| 734 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration', | ||
| 735 | from 'HashRef', | ||
| 736 | via { | ||
| 737 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 738 | return $f | ||
| 739 | } else { | ||
| 740 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration->new( %$_ ); | ||
| 741 | } | ||
| 742 | }; | ||
| 743 | |||
| 744 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration { | ||
| 745 | use Moose; | ||
| 746 | use MooseX::StrictConstructor; | ||
| 747 | extends 'Cfn::Value::TypedValue'; | ||
| 748 | |||
| 749 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 750 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 751 | } | ||
| 752 | |||
| 753 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration', | ||
| 754 | as 'Cfn::Value'; | ||
| 755 | |||
| 756 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration', | ||
| 757 | from 'HashRef', | ||
| 758 | via { | ||
| 759 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 760 | return $f | ||
| 761 | } else { | ||
| 762 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration->new( %$_ ); | ||
| 763 | } | ||
| 764 | }; | ||
| 765 | |||
| 766 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration { | ||
| 767 | use Moose; | ||
| 768 | use MooseX::StrictConstructor; | ||
| 769 | extends 'Cfn::Value::TypedValue'; | ||
| 770 | |||
| 771 | has CustomKnowledgeArticleTypeConfigurations => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceCustomKnowledgeArticleTypeConfigurationList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 772 | has IncludedStates => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleStateList', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 773 | has StandardKnowledgeArticleTypeConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardKnowledgeArticleTypeConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 774 | } | ||
| 775 | |||
| 776 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration', | ||
| 777 | as 'Cfn::Value'; | ||
| 778 | |||
| 779 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration', | ||
| 780 | from 'HashRef', | ||
| 781 | via { | ||
| 782 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 783 | return $f | ||
| 784 | } else { | ||
| 785 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration->new( %$_ ); | ||
| 786 | } | ||
| 787 | }; | ||
| 788 | |||
| 789 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration { | ||
| 790 | use Moose; | ||
| 791 | use MooseX::StrictConstructor; | ||
| 792 | extends 'Cfn::Value::TypedValue'; | ||
| 793 | |||
| 794 | has DocumentDataFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 795 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 796 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 797 | has IncludeFilterTypes => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedIncludeFilterTypes', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 798 | } | ||
| 799 | |||
| 800 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUsers', | ||
| 801 | as 'Cfn::Value'; | ||
| 802 | |||
| 803 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUsers', | ||
| 804 | from 'HashRef', | ||
| 805 | via { | ||
| 806 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 807 | return $f | ||
| 808 | } else { | ||
| 809 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUsers->new( %$_ ); | ||
| 810 | } | ||
| 811 | }; | ||
| 812 | |||
| 813 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveUsers { | ||
| 814 | use Moose; | ||
| 815 | use MooseX::StrictConstructor; | ||
| 816 | extends 'Cfn::Value::TypedValue'; | ||
| 817 | |||
| 818 | has OneDriveUserList => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUserList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 819 | has OneDriveUserS3Path => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3Path', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 820 | } | ||
| 821 | |||
| 822 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ExcludeUserAccountsList', | ||
| 823 | as 'Cfn::Value'; | ||
| 824 | |||
| 825 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ExcludeUserAccountsList', | ||
| 826 | from 'HashRef', | ||
| 827 | via { | ||
| 828 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 829 | return $f | ||
| 830 | } else { | ||
| 831 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ExcludeUserAccountsList->new( %$_ ); | ||
| 832 | } | ||
| 833 | }; | ||
| 834 | |||
| 835 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ExcludeUserAccountsList { | ||
| 836 | use Moose; | ||
| 837 | use MooseX::StrictConstructor; | ||
| 838 | extends 'Cfn::Value::TypedValue'; | ||
| 839 | |||
| 840 | has ExcludeUserAccountsList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 841 | } | ||
| 842 | |||
| 843 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ExcludeSharedDrivesList', | ||
| 844 | as 'Cfn::Value'; | ||
| 845 | |||
| 846 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ExcludeSharedDrivesList', | ||
| 847 | from 'HashRef', | ||
| 848 | via { | ||
| 849 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 850 | return $f | ||
| 851 | } else { | ||
| 852 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ExcludeSharedDrivesList->new( %$_ ); | ||
| 853 | } | ||
| 854 | }; | ||
| 855 | |||
| 856 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ExcludeSharedDrivesList { | ||
| 857 | use Moose; | ||
| 858 | use MooseX::StrictConstructor; | ||
| 859 | extends 'Cfn::Value::TypedValue'; | ||
| 860 | |||
| 861 | has ExcludeSharedDrivesList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 862 | } | ||
| 863 | |||
| 864 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ExcludeMimeTypesList', | ||
| 865 | as 'Cfn::Value'; | ||
| 866 | |||
| 867 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ExcludeMimeTypesList', | ||
| 868 | from 'HashRef', | ||
| 869 | via { | ||
| 870 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 871 | return $f | ||
| 872 | } else { | ||
| 873 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ExcludeMimeTypesList->new( %$_ ); | ||
| 874 | } | ||
| 875 | }; | ||
| 876 | |||
| 877 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ExcludeMimeTypesList { | ||
| 878 | use Moose; | ||
| 879 | use MooseX::StrictConstructor; | ||
| 880 | extends 'Cfn::Value::TypedValue'; | ||
| 881 | |||
| 882 | has ExcludeMimeTypesList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 883 | } | ||
| 884 | |||
| 885 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DocumentsMetadataConfiguration', | ||
| 886 | as 'Cfn::Value'; | ||
| 887 | |||
| 888 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DocumentsMetadataConfiguration', | ||
| 889 | from 'HashRef', | ||
| 890 | via { | ||
| 891 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 892 | return $f | ||
| 893 | } else { | ||
| 894 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DocumentsMetadataConfiguration->new( %$_ ); | ||
| 895 | } | ||
| 896 | }; | ||
| 897 | |||
| 898 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DocumentsMetadataConfiguration { | ||
| 899 | use Moose; | ||
| 900 | use MooseX::StrictConstructor; | ||
| 901 | extends 'Cfn::Value::TypedValue'; | ||
| 902 | |||
| 903 | has S3Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 904 | } | ||
| 905 | |||
| 906 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration', | ||
| 907 | as 'Cfn::Value'; | ||
| 908 | |||
| 909 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration', | ||
| 910 | from 'HashRef', | ||
| 911 | via { | ||
| 912 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 913 | return $f | ||
| 914 | } else { | ||
| 915 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceVpcConfiguration->new( %$_ ); | ||
| 916 | } | ||
| 917 | }; | ||
| 918 | |||
| 919 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceVpcConfiguration { | ||
| 920 | use Moose; | ||
| 921 | use MooseX::StrictConstructor; | ||
| 922 | extends 'Cfn::Value::TypedValue'; | ||
| 923 | |||
| 924 | has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 925 | has SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 926 | } | ||
| 927 | |||
| 928 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConnectionConfiguration', | ||
| 929 | as 'Cfn::Value'; | ||
| 930 | |||
| 931 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConnectionConfiguration', | ||
| 932 | from 'HashRef', | ||
| 933 | via { | ||
| 934 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 935 | return $f | ||
| 936 | } else { | ||
| 937 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConnectionConfiguration->new( %$_ ); | ||
| 938 | } | ||
| 939 | }; | ||
| 940 | |||
| 941 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConnectionConfiguration { | ||
| 942 | use Moose; | ||
| 943 | use MooseX::StrictConstructor; | ||
| 944 | extends 'Cfn::Value::TypedValue'; | ||
| 945 | |||
| 946 | has DatabaseHost => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 947 | has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 948 | has DatabasePort => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 949 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 950 | has TableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 951 | } | ||
| 952 | |||
| 953 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceConfiguration', | ||
| 954 | as 'Cfn::Value'; | ||
| 955 | |||
| 956 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceConfiguration', | ||
| 957 | from 'HashRef', | ||
| 958 | via { | ||
| 959 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 960 | return $f | ||
| 961 | } else { | ||
| 962 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceSpaceConfiguration->new( %$_ ); | ||
| 963 | } | ||
| 964 | }; | ||
| 965 | |||
| 966 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceSpaceConfiguration { | ||
| 967 | use Moose; | ||
| 968 | use MooseX::StrictConstructor; | ||
| 969 | extends 'Cfn::Value::TypedValue'; | ||
| 970 | |||
| 971 | has CrawlArchivedSpaces => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 972 | has CrawlPersonalSpaces => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 973 | has ExcludeSpaces => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 974 | has IncludeSpaces => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 975 | has SpaceFieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceFieldMappingsList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 976 | } | ||
| 977 | |||
| 978 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageConfiguration', | ||
| 979 | as 'Cfn::Value'; | ||
| 980 | |||
| 981 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageConfiguration', | ||
| 982 | from 'HashRef', | ||
| 983 | via { | ||
| 984 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 985 | return $f | ||
| 986 | } else { | ||
| 987 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluencePageConfiguration->new( %$_ ); | ||
| 988 | } | ||
| 989 | }; | ||
| 990 | |||
| 991 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluencePageConfiguration { | ||
| 992 | use Moose; | ||
| 993 | use MooseX::StrictConstructor; | ||
| 994 | extends 'Cfn::Value::TypedValue'; | ||
| 995 | |||
| 996 | has PageFieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageFieldMappingsList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 997 | } | ||
| 998 | |||
| 999 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogConfiguration', | ||
| 1000 | as 'Cfn::Value'; | ||
| 1001 | |||
| 1002 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogConfiguration', | ||
| 1003 | from 'HashRef', | ||
| 1004 | via { | ||
| 1005 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1006 | return $f | ||
| 1007 | } else { | ||
| 1008 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceBlogConfiguration->new( %$_ ); | ||
| 1009 | } | ||
| 1010 | }; | ||
| 1011 | |||
| 1012 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceBlogConfiguration { | ||
| 1013 | use Moose; | ||
| 1014 | use MooseX::StrictConstructor; | ||
| 1015 | extends 'Cfn::Value::TypedValue'; | ||
| 1016 | |||
| 1017 | has BlogFieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogFieldMappingsList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1018 | } | ||
| 1019 | |||
| 1020 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentConfiguration', | ||
| 1021 | as 'Cfn::Value'; | ||
| 1022 | |||
| 1023 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentConfiguration', | ||
| 1024 | from 'HashRef', | ||
| 1025 | via { | ||
| 1026 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1027 | return $f | ||
| 1028 | } else { | ||
| 1029 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceAttachmentConfiguration->new( %$_ ); | ||
| 1030 | } | ||
| 1031 | }; | ||
| 1032 | |||
| 1033 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceAttachmentConfiguration { | ||
| 1034 | use Moose; | ||
| 1035 | use MooseX::StrictConstructor; | ||
| 1036 | extends 'Cfn::Value::TypedValue'; | ||
| 1037 | |||
| 1038 | has AttachmentFieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentFieldMappingsList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1039 | has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1040 | } | ||
| 1041 | |||
| 1042 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ColumnConfiguration', | ||
| 1043 | as 'Cfn::Value'; | ||
| 1044 | |||
| 1045 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ColumnConfiguration', | ||
| 1046 | from 'HashRef', | ||
| 1047 | via { | ||
| 1048 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1049 | return $f | ||
| 1050 | } else { | ||
| 1051 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ColumnConfiguration->new( %$_ ); | ||
| 1052 | } | ||
| 1053 | }; | ||
| 1054 | |||
| 1055 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ColumnConfiguration { | ||
| 1056 | use Moose; | ||
| 1057 | use MooseX::StrictConstructor; | ||
| 1058 | extends 'Cfn::Value::TypedValue'; | ||
| 1059 | |||
| 1060 | has ChangeDetectingColumns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ChangeDetectingColumns', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1061 | has DocumentDataColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1062 | has DocumentIdColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1063 | has DocumentTitleColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1064 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1065 | } | ||
| 1066 | |||
| 1067 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AclConfiguration', | ||
| 1068 | as 'Cfn::Value'; | ||
| 1069 | |||
| 1070 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AclConfiguration', | ||
| 1071 | from 'HashRef', | ||
| 1072 | via { | ||
| 1073 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1074 | return $f | ||
| 1075 | } else { | ||
| 1076 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AclConfiguration->new( %$_ ); | ||
| 1077 | } | ||
| 1078 | }; | ||
| 1079 | |||
| 1080 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AclConfiguration { | ||
| 1081 | use Moose; | ||
| 1082 | use MooseX::StrictConstructor; | ||
| 1083 | extends 'Cfn::Value::TypedValue'; | ||
| 1084 | |||
| 1085 | has AllowedGroupsColumnName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1086 | } | ||
| 1087 | |||
| 1088 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AccessControlListConfiguration', | ||
| 1089 | as 'Cfn::Value'; | ||
| 1090 | |||
| 1091 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AccessControlListConfiguration', | ||
| 1092 | from 'HashRef', | ||
| 1093 | via { | ||
| 1094 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1095 | return $f | ||
| 1096 | } else { | ||
| 1097 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AccessControlListConfiguration->new( %$_ ); | ||
| 1098 | } | ||
| 1099 | }; | ||
| 1100 | |||
| 1101 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::AccessControlListConfiguration { | ||
| 1102 | use Moose; | ||
| 1103 | use MooseX::StrictConstructor; | ||
| 1104 | extends 'Cfn::Value::TypedValue'; | ||
| 1105 | |||
| 1106 | has KeyPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1107 | } | ||
| 1108 | |||
| 1109 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SharePointConfiguration', | ||
| 1110 | as 'Cfn::Value'; | ||
| 1111 | |||
| 1112 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SharePointConfiguration', | ||
| 1113 | from 'HashRef', | ||
| 1114 | via { | ||
| 1115 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1116 | return $f | ||
| 1117 | } else { | ||
| 1118 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SharePointConfiguration->new( %$_ ); | ||
| 1119 | } | ||
| 1120 | }; | ||
| 1121 | |||
| 1122 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SharePointConfiguration { | ||
| 1123 | use Moose; | ||
| 1124 | use MooseX::StrictConstructor; | ||
| 1125 | extends 'Cfn::Value::TypedValue'; | ||
| 1126 | |||
| 1127 | has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1128 | has DisableLocalGroups => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1129 | has DocumentTitleFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1130 | has ExclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1131 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1132 | has InclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1133 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1134 | has SharePointVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1135 | has Urls => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1136 | has UseChangeLog => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1137 | has VpcConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1138 | } | ||
| 1139 | |||
| 1140 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowConfiguration', | ||
| 1141 | as 'Cfn::Value'; | ||
| 1142 | |||
| 1143 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowConfiguration', | ||
| 1144 | from 'HashRef', | ||
| 1145 | via { | ||
| 1146 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1147 | return $f | ||
| 1148 | } else { | ||
| 1149 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowConfiguration->new( %$_ ); | ||
| 1150 | } | ||
| 1151 | }; | ||
| 1152 | |||
| 1153 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ServiceNowConfiguration { | ||
| 1154 | use Moose; | ||
| 1155 | use MooseX::StrictConstructor; | ||
| 1156 | extends 'Cfn::Value::TypedValue'; | ||
| 1157 | |||
| 1158 | has HostUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1159 | has KnowledgeArticleConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowKnowledgeArticleConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1160 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1161 | has ServiceCatalogConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowServiceCatalogConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1162 | has ServiceNowBuildVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1163 | } | ||
| 1164 | |||
| 1165 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceConfiguration', | ||
| 1166 | as 'Cfn::Value'; | ||
| 1167 | |||
| 1168 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceConfiguration', | ||
| 1169 | from 'HashRef', | ||
| 1170 | via { | ||
| 1171 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1172 | return $f | ||
| 1173 | } else { | ||
| 1174 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceConfiguration->new( %$_ ); | ||
| 1175 | } | ||
| 1176 | }; | ||
| 1177 | |||
| 1178 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::SalesforceConfiguration { | ||
| 1179 | use Moose; | ||
| 1180 | use MooseX::StrictConstructor; | ||
| 1181 | extends 'Cfn::Value::TypedValue'; | ||
| 1182 | |||
| 1183 | has ChatterFeedConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceChatterFeedConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1184 | has CrawlAttachments => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1185 | has ExcludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1186 | has IncludeAttachmentFilePatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1187 | has KnowledgeArticleConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceKnowledgeArticleConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1188 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1189 | has ServerUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1190 | has StandardObjectAttachmentConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectAttachmentConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1191 | has StandardObjectConfigurations => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceStandardObjectConfigurationList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1192 | } | ||
| 1193 | |||
| 1194 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3DataSourceConfiguration', | ||
| 1195 | as 'Cfn::Value'; | ||
| 1196 | |||
| 1197 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3DataSourceConfiguration', | ||
| 1198 | from 'HashRef', | ||
| 1199 | via { | ||
| 1200 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1201 | return $f | ||
| 1202 | } else { | ||
| 1203 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3DataSourceConfiguration->new( %$_ ); | ||
| 1204 | } | ||
| 1205 | }; | ||
| 1206 | |||
| 1207 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::S3DataSourceConfiguration { | ||
| 1208 | use Moose; | ||
| 1209 | use MooseX::StrictConstructor; | ||
| 1210 | extends 'Cfn::Value::TypedValue'; | ||
| 1211 | |||
| 1212 | has AccessControlListConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AccessControlListConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1213 | has BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1214 | has DocumentsMetadataConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DocumentsMetadataConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1215 | has ExclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1216 | has InclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1217 | has InclusionPrefixes => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1218 | } | ||
| 1219 | |||
| 1220 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveConfiguration', | ||
| 1221 | as 'Cfn::Value'; | ||
| 1222 | |||
| 1223 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveConfiguration', | ||
| 1224 | from 'HashRef', | ||
| 1225 | via { | ||
| 1226 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1227 | return $f | ||
| 1228 | } else { | ||
| 1229 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveConfiguration->new( %$_ ); | ||
| 1230 | } | ||
| 1231 | }; | ||
| 1232 | |||
| 1233 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::OneDriveConfiguration { | ||
| 1234 | use Moose; | ||
| 1235 | use MooseX::StrictConstructor; | ||
| 1236 | extends 'Cfn::Value::TypedValue'; | ||
| 1237 | |||
| 1238 | has DisableLocalGroups => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1239 | has ExclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1240 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1241 | has InclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1242 | has OneDriveUsers => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveUsers', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1243 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1244 | has TenantDomain => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1245 | } | ||
| 1246 | |||
| 1247 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::GoogleDriveConfiguration', | ||
| 1248 | as 'Cfn::Value'; | ||
| 1249 | |||
| 1250 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::GoogleDriveConfiguration', | ||
| 1251 | from 'HashRef', | ||
| 1252 | via { | ||
| 1253 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1254 | return $f | ||
| 1255 | } else { | ||
| 1256 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::GoogleDriveConfiguration->new( %$_ ); | ||
| 1257 | } | ||
| 1258 | }; | ||
| 1259 | |||
| 1260 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::GoogleDriveConfiguration { | ||
| 1261 | use Moose; | ||
| 1262 | use MooseX::StrictConstructor; | ||
| 1263 | extends 'Cfn::Value::TypedValue'; | ||
| 1264 | |||
| 1265 | has ExcludeMimeTypes => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ExcludeMimeTypesList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1266 | has ExcludeSharedDrives => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ExcludeSharedDrivesList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1267 | has ExcludeUserAccounts => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ExcludeUserAccountsList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1268 | has ExclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1269 | has FieldMappings => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceToIndexFieldMappingList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1270 | has InclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1271 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1272 | } | ||
| 1273 | |||
| 1274 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DatabaseConfiguration', | ||
| 1275 | as 'Cfn::Value'; | ||
| 1276 | |||
| 1277 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DatabaseConfiguration', | ||
| 1278 | from 'HashRef', | ||
| 1279 | via { | ||
| 1280 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1281 | return $f | ||
| 1282 | } else { | ||
| 1283 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DatabaseConfiguration->new( %$_ ); | ||
| 1284 | } | ||
| 1285 | }; | ||
| 1286 | |||
| 1287 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DatabaseConfiguration { | ||
| 1288 | use Moose; | ||
| 1289 | use MooseX::StrictConstructor; | ||
| 1290 | extends 'Cfn::Value::TypedValue'; | ||
| 1291 | |||
| 1292 | has AclConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::AclConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1293 | has ColumnConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ColumnConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1294 | has ConnectionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConnectionConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1295 | has DatabaseEngineType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1296 | has SqlConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SqlConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1297 | has VpcConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1298 | } | ||
| 1299 | |||
| 1300 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceConfiguration', | ||
| 1301 | as 'Cfn::Value'; | ||
| 1302 | |||
| 1303 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceConfiguration', | ||
| 1304 | from 'HashRef', | ||
| 1305 | via { | ||
| 1306 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1307 | return $f | ||
| 1308 | } else { | ||
| 1309 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceConfiguration->new( %$_ ); | ||
| 1310 | } | ||
| 1311 | }; | ||
| 1312 | |||
| 1313 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::ConfluenceConfiguration { | ||
| 1314 | use Moose; | ||
| 1315 | use MooseX::StrictConstructor; | ||
| 1316 | extends 'Cfn::Value::TypedValue'; | ||
| 1317 | |||
| 1318 | has AttachmentConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceAttachmentConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1319 | has BlogConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceBlogConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1320 | has ExclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1321 | has InclusionPatterns => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceInclusionsExclusionsStrings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1322 | has PageConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluencePageConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1323 | has SecretArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1324 | has ServerUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1325 | has SpaceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceSpaceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1326 | has Version => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1327 | has VpcConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceVpcConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1328 | } | ||
| 1329 | |||
| 1330 | subtype 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceConfiguration', | ||
| 1331 | as 'Cfn::Value'; | ||
| 1332 | |||
| 1333 | coerce 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceConfiguration', | ||
| 1334 | from 'HashRef', | ||
| 1335 | via { | ||
| 1336 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 1337 | return $f | ||
| 1338 | } else { | ||
| 1339 | return Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceConfiguration->new( %$_ ); | ||
| 1340 | } | ||
| 1341 | }; | ||
| 1342 | |||
| 1343 | package Cfn::Resource::Properties::Object::AWS::Kendra::DataSource::DataSourceConfiguration { | ||
| 1344 | use Moose; | ||
| 1345 | use MooseX::StrictConstructor; | ||
| 1346 | extends 'Cfn::Value::TypedValue'; | ||
| 1347 | |||
| 1348 | has ConfluenceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ConfluenceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1349 | has DatabaseConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DatabaseConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1350 | has GoogleDriveConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::GoogleDriveConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1351 | has OneDriveConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::OneDriveConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1352 | has S3Configuration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::S3DataSourceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1353 | has SalesforceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SalesforceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1354 | has ServiceNowConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::ServiceNowConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1355 | has SharePointConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::SharePointConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1356 | } | ||
| 1357 | |||
| 1358 | package Cfn::Resource::Properties::AWS::Kendra::DataSource { | ||
| 1359 | use Moose; | ||
| 1360 | use MooseX::StrictConstructor; | ||
| 1361 | extends 'Cfn::Resource::Properties'; | ||
| 1362 | |||
| 1363 | has DataSourceConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::DataSource::DataSourceConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1364 | has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1365 | has IndexId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1366 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1367 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1368 | has Schedule => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1369 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 1370 | has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 1371 | } | ||
| 1372 | |||
| 1373 | 1; | ||
| 1374 | ### main pod documentation begin ### | ||
| 1375 | |||
| 1376 | =encoding UTF-8 | ||
| 1377 | |||
| 1378 | =head1 NAME | ||
| 1379 | |||
| 1380 | Cfn::Resource::AWS::Kendra::DataSource - Cfn resource for AWS::Kendra::DataSource | ||
| 1381 | |||
| 1382 | =head1 DESCRIPTION | ||
| 1383 | |||
| 1384 | This module implements a Perl module that represents the CloudFormation object AWS::Kendra::DataSource. | ||
| 1385 | |||
| 1386 | See L<Cfn> for more information on how to use it. | ||
| 1387 | |||
| 1388 | =head1 AUTHOR | ||
| 1389 | |||
| 1390 | Jose Luis Martinez | ||
| 1391 | CAPSiDE | ||
| 1392 | jlmartinez@capside.com | ||
| 1393 | |||
| 1394 | =head1 COPYRIGHT and LICENSE | ||
| 1395 | |||
| 1396 | Copyright (c) 2013 by CAPSiDE | ||
| 1397 | This code is distributed under the Apache 2 License. The full text of the | ||
| 1398 | license can be found in the LICENSE file included with this module. | ||
| 1399 | |||
| 1400 | =cut |