line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::Kendra::Faq generated from spec 21.0.0 |
2
|
1
|
|
|
1
|
|
732
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
12
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Kendra::Faq', |
5
|
|
|
|
|
|
|
from 'HashRef', |
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::Kendra::Faq->new( %$_ ) }; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::Kendra::Faq { |
9
|
1
|
|
|
1
|
|
2369
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Faq', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
1
|
|
|
1
|
0
|
6
|
[ 'Arn','Id' ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
1
|
|
|
1
|
0
|
1228
|
[ 'ap-southeast-2','eu-west-1','us-east-1','us-west-2' ] |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Kendra::Faq::TagList', |
24
|
|
|
|
|
|
|
as 'Cfn::Value'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Kendra::Faq::TagList', |
27
|
|
|
|
|
|
|
from 'HashRef', |
28
|
|
|
|
|
|
|
via { |
29
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
30
|
|
|
|
|
|
|
return $f |
31
|
|
|
|
|
|
|
} else { |
32
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Kendra::Faq::TagList->new( %$_ ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
}; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Kendra::Faq::TagList { |
37
|
1
|
|
|
1
|
|
7562
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
38
|
1
|
|
|
1
|
|
6902
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
11
|
|
39
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
has TagList => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Kendra::Faq::S3Path', |
45
|
|
|
|
|
|
|
as 'Cfn::Value'; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Kendra::Faq::S3Path', |
48
|
|
|
|
|
|
|
from 'HashRef', |
49
|
|
|
|
|
|
|
via { |
50
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
51
|
|
|
|
|
|
|
return $f |
52
|
|
|
|
|
|
|
} else { |
53
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Kendra::Faq::S3Path->new( %$_ ); |
54
|
|
|
|
|
|
|
} |
55
|
|
|
|
|
|
|
}; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Kendra::Faq::S3Path { |
58
|
1
|
|
|
1
|
|
3707
|
use Moose; |
|
1
|
|
|
|
|
14
|
|
|
1
|
|
|
|
|
6
|
|
59
|
1
|
|
|
1
|
|
6827
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
60
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
63
|
|
|
|
|
|
|
has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Kendra::Faq { |
67
|
1
|
|
|
1
|
|
3698
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
68
|
1
|
|
|
1
|
|
7099
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
8
|
|
69
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
72
|
|
|
|
|
|
|
has FileFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
73
|
|
|
|
|
|
|
has IndexId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
74
|
|
|
|
|
|
|
has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
75
|
|
|
|
|
|
|
has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
76
|
|
|
|
|
|
|
has S3Path => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Faq::S3Path', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
77
|
|
|
|
|
|
|
has Tags => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Faq::TagList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
1; |
81
|
|
|
|
|
|
|
### main pod documentation begin ### |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=encoding UTF-8 |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head1 NAME |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Cfn::Resource::AWS::Kendra::Faq - Cfn resource for AWS::Kendra::Faq |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 DESCRIPTION |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
This module implements a Perl module that represents the CloudFormation object AWS::Kendra::Faq. |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
See L<Cfn> for more information on how to use it. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 AUTHOR |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
Jose Luis Martinez |
98
|
|
|
|
|
|
|
CAPSiDE |
99
|
|
|
|
|
|
|
jlmartinez@capside.com |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENSE |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Copyright (c) 2013 by CAPSiDE |
104
|
|
|
|
|
|
|
This code is distributed under the Apache 2 License. The full text of the |
105
|
|
|
|
|
|
|
license can be found in the LICENSE file included with this module. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=cut |