Cfn/Resource/AWS/Kendra/Faq.pm

filter: Statementstmt 87.9% 51 / 58 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 76.9% 10 / 13 Podpod 0.0% 0 / 2 totaltotal 79.2% 61 / 77 CC 3 SCAR 8.5
CC
3
Cov
82%
__ANON__
6.0
__ANON__
6.0
__ANON__
1.1
CRAP 2.3
« Cfn/Resource/AWS/IoT/ProvisioningTemplate.pm ↑ Summary Cfn/Resource/AWS/Glue/Connection.pm »
1 # AWS::Kendra::Faq generated from spec 21.0.0
2 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::Kendra::Faq',
5 from 'HashRef',
6 0 ▶ via { Cfn::Resource::Properties::AWS::Kendra::Faq->new( %$_ ) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
7  
8 1 package Cfn::Resource::AWS::Kendra::Faq {
9 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 extends 'Cfn::Resource';
11 1 has Properties => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Faq', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'Arn','Id' ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'ap-southeast-2','eu-west-1','us-east-1','us-west-2' ]
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
18 }
19 }
20  
21  
22  
23 1 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 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
30 0 return $f
31 } else {
32 0 return Cfn::Resource::Properties::Object::AWS::Kendra::Faq::TagList->new( %$_ );
33 }
34 1 };
35  
36 1 package Cfn::Resource::Properties::Object::AWS::Kendra::Faq::TagList {
37 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 1 extends 'Cfn::Value::TypedValue';
40
41 1 has TagList => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 }
43  
44 1 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 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
51 0 return $f
52 } else {
53 0 return Cfn::Resource::Properties::Object::AWS::Kendra::Faq::S3Path->new( %$_ );
54 }
55 1 };
56  
57 1 package Cfn::Resource::Properties::Object::AWS::Kendra::Faq::S3Path {
58 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
59 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
60 1 extends 'Cfn::Value::TypedValue';
61
62 1 has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
63 1 has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
64 }
65  
66 1 package Cfn::Resource::Properties::AWS::Kendra::Faq {
67 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
68 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
69 1 extends 'Cfn::Resource::Properties';
70
71 1 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
72 1 has FileFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
73 1 has IndexId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
74 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
75 1 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
76 1 has S3Path => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Faq::S3Path', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
77 1 has Tags => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Faq::TagList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
78 }
79  
80 1 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
« Cfn/Resource/AWS/IoT/ProvisioningTemplate.pm ↑ Summary Cfn/Resource/AWS/Glue/Connection.pm »