« Cfn/Resource/AWS/SageMaker/MonitoringSchedule.pm
↑ Summary
Cfn/Resource/AWS/KinesisAnalytics/Application.pm »
| 1 | # AWS::Kendra::Index 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::Index', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::Kendra::Index->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::Kendra::Index { | |||||||||
| 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::Index', 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 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::Index::ValueImportanceItem', | ||||||||||
| 23 | as 'Cfn::Value', | ||||||||||
| 24 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 25 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 26 | |||||||||||
| 27 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::Index::ValueImportanceItem', | ||||||||||
| 28 | from 'HashRef', | ||||||||||
| 29 | via { | ||||||||||
| 30 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 31 | 0 | return $f | |||||||||
| 32 | } else { | ||||||||||
| 33 | 0 | die 'Only accepts functions'; | |||||||||
| 34 | } | ||||||||||
| 35 | }, | ||||||||||
| 36 | from 'ArrayRef', | ||||||||||
| 37 | via { | ||||||||||
| 38 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 39 | map { | ||||||||||
| 40 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::Index::ValueImportanceItem')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 41 | } @$_ | ||||||||||
| 42 | ]); | ||||||||||
| 43 | 1 | }; | |||||||||
| 44 | |||||||||||
| 45 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::Index::ValueImportanceItem', | |||||||||
| 46 | as 'Cfn::Value'; | ||||||||||
| 47 | |||||||||||
| 48 | coerce 'Cfn::Resource::Properties::AWS::Kendra::Index::ValueImportanceItem', | ||||||||||
| 49 | from 'HashRef', | ||||||||||
| 50 | via { | ||||||||||
| 51 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 52 | 0 | return $f | |||||||||
| 53 | } else { | ||||||||||
| 54 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::Index::ValueImportanceItem->new( %$_ ); | |||||||||
| 55 | } | ||||||||||
| 56 | 1 | }; | |||||||||
| 57 | |||||||||||
| 58 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::Index::ValueImportanceItem { | |||||||||
| 59 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 60 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 61 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 62 | |||||||||||
| 63 | 1 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 64 | 1 | has Value => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 65 | } | ||||||||||
| 66 | |||||||||||
| 67 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::Index::ValueImportanceItems', | |||||||||
| 68 | as 'Cfn::Value'; | ||||||||||
| 69 | |||||||||||
| 70 | coerce 'Cfn::Resource::Properties::AWS::Kendra::Index::ValueImportanceItems', | ||||||||||
| 71 | from 'HashRef', | ||||||||||
| 72 | via { | ||||||||||
| 73 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 74 | 0 | return $f | |||||||||
| 75 | } else { | ||||||||||
| 76 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::Index::ValueImportanceItems->new( %$_ ); | |||||||||
| 77 | } | ||||||||||
| 78 | 1 | }; | |||||||||
| 79 | |||||||||||
| 80 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::Index::ValueImportanceItems { | |||||||||
| 81 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 82 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 83 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 84 | |||||||||||
| 85 | 1 | has ValueImportanceItems => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::Index::ValueImportanceItem', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 86 | } | ||||||||||
| 87 | |||||||||||
| 88 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::Index::Search', | |||||||||
| 89 | as 'Cfn::Value'; | ||||||||||
| 90 | |||||||||||
| 91 | coerce 'Cfn::Resource::Properties::AWS::Kendra::Index::Search', | ||||||||||
| 92 | from 'HashRef', | ||||||||||
| 93 | via { | ||||||||||
| 94 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 95 | 0 | return $f | |||||||||
| 96 | } else { | ||||||||||
| 97 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::Index::Search->new( %$_ ); | |||||||||
| 98 | } | ||||||||||
| 99 | 1 | }; | |||||||||
| 100 | |||||||||||
| 101 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::Index::Search { | |||||||||
| 102 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 103 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 104 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 105 | |||||||||||
| 106 | 1 | has Displayable => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 107 | 1 | has Facetable => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 108 | 1 | has Searchable => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 109 | 1 | has Sortable => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 110 | } | ||||||||||
| 111 | |||||||||||
| 112 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::Index::Relevance', | |||||||||
| 113 | as 'Cfn::Value'; | ||||||||||
| 114 | |||||||||||
| 115 | coerce 'Cfn::Resource::Properties::AWS::Kendra::Index::Relevance', | ||||||||||
| 116 | from 'HashRef', | ||||||||||
| 117 | via { | ||||||||||
| 118 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 119 | 0 | return $f | |||||||||
| 120 | } else { | ||||||||||
| 121 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::Index::Relevance->new( %$_ ); | |||||||||
| 122 | } | ||||||||||
| 123 | 1 | }; | |||||||||
| 124 | |||||||||||
| 125 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::Index::Relevance { | |||||||||
| 126 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 127 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 128 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 129 | |||||||||||
| 130 | 1 | has Duration => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 131 | 1 | has Freshness => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 132 | 1 | has Importance => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 133 | 1 | has RankOrder => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 134 | 1 | has ValueImportanceItems => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Index::ValueImportanceItems', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 135 | } | ||||||||||
| 136 | subtype 'ArrayOfCfn::Resource::Properties::AWS::Kendra::Index::DocumentMetadataConfiguration', | ||||||||||
| 137 | as 'Cfn::Value', | ||||||||||
| 138 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 139 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 140 | |||||||||||
| 141 | coerce 'ArrayOfCfn::Resource::Properties::AWS::Kendra::Index::DocumentMetadataConfiguration', | ||||||||||
| 142 | from 'HashRef', | ||||||||||
| 143 | via { | ||||||||||
| 144 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 145 | 0 | return $f | |||||||||
| 146 | } else { | ||||||||||
| 147 | 0 | die 'Only accepts functions'; | |||||||||
| 148 | } | ||||||||||
| 149 | }, | ||||||||||
| 150 | from 'ArrayRef', | ||||||||||
| 151 | via { | ||||||||||
| 152 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 153 | map { | ||||||||||
| 154 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Kendra::Index::DocumentMetadataConfiguration')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 155 | } @$_ | ||||||||||
| 156 | ]); | ||||||||||
| 157 | 1 | }; | |||||||||
| 158 | |||||||||||
| 159 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::Index::DocumentMetadataConfiguration', | |||||||||
| 160 | as 'Cfn::Value'; | ||||||||||
| 161 | |||||||||||
| 162 | coerce 'Cfn::Resource::Properties::AWS::Kendra::Index::DocumentMetadataConfiguration', | ||||||||||
| 163 | from 'HashRef', | ||||||||||
| 164 | via { | ||||||||||
| 165 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 166 | 0 | return $f | |||||||||
| 167 | } else { | ||||||||||
| 168 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::Index::DocumentMetadataConfiguration->new( %$_ ); | |||||||||
| 169 | } | ||||||||||
| 170 | 1 | }; | |||||||||
| 171 | |||||||||||
| 172 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::Index::DocumentMetadataConfiguration { | |||||||||
| 173 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 174 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 175 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 176 | |||||||||||
| 177 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 178 | 1 | has Relevance => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Index::Relevance', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 179 | 1 | has Search => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Index::Search', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 180 | 1 | has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 181 | } | ||||||||||
| 182 | |||||||||||
| 183 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::Index::TagList', | |||||||||
| 184 | as 'Cfn::Value'; | ||||||||||
| 185 | |||||||||||
| 186 | coerce 'Cfn::Resource::Properties::AWS::Kendra::Index::TagList', | ||||||||||
| 187 | from 'HashRef', | ||||||||||
| 188 | via { | ||||||||||
| 189 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 190 | 0 | return $f | |||||||||
| 191 | } else { | ||||||||||
| 192 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::Index::TagList->new( %$_ ); | |||||||||
| 193 | } | ||||||||||
| 194 | 1 | }; | |||||||||
| 195 | |||||||||||
| 196 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::Index::TagList { | |||||||||
| 197 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 198 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 199 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 200 | |||||||||||
| 201 | 1 | has TagList => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 202 | } | ||||||||||
| 203 | |||||||||||
| 204 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::Index::ServerSideEncryptionConfiguration', | |||||||||
| 205 | as 'Cfn::Value'; | ||||||||||
| 206 | |||||||||||
| 207 | coerce 'Cfn::Resource::Properties::AWS::Kendra::Index::ServerSideEncryptionConfiguration', | ||||||||||
| 208 | from 'HashRef', | ||||||||||
| 209 | via { | ||||||||||
| 210 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 211 | 0 | return $f | |||||||||
| 212 | } else { | ||||||||||
| 213 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::Index::ServerSideEncryptionConfiguration->new( %$_ ); | |||||||||
| 214 | } | ||||||||||
| 215 | 1 | }; | |||||||||
| 216 | |||||||||||
| 217 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::Index::ServerSideEncryptionConfiguration { | |||||||||
| 218 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 219 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 220 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 221 | |||||||||||
| 222 | 1 | has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 223 | } | ||||||||||
| 224 | |||||||||||
| 225 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::Index::DocumentMetadataConfigurationList', | |||||||||
| 226 | as 'Cfn::Value'; | ||||||||||
| 227 | |||||||||||
| 228 | coerce 'Cfn::Resource::Properties::AWS::Kendra::Index::DocumentMetadataConfigurationList', | ||||||||||
| 229 | from 'HashRef', | ||||||||||
| 230 | via { | ||||||||||
| 231 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 232 | 0 | return $f | |||||||||
| 233 | } else { | ||||||||||
| 234 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::Index::DocumentMetadataConfigurationList->new( %$_ ); | |||||||||
| 235 | } | ||||||||||
| 236 | 1 | }; | |||||||||
| 237 | |||||||||||
| 238 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::Index::DocumentMetadataConfigurationList { | |||||||||
| 239 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 240 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 241 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 242 | |||||||||||
| 243 | 1 | has DocumentMetadataConfigurationList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Kendra::Index::DocumentMetadataConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 244 | } | ||||||||||
| 245 | |||||||||||
| 246 | 1 | subtype 'Cfn::Resource::Properties::AWS::Kendra::Index::CapacityUnitsConfiguration', | |||||||||
| 247 | as 'Cfn::Value'; | ||||||||||
| 248 | |||||||||||
| 249 | coerce 'Cfn::Resource::Properties::AWS::Kendra::Index::CapacityUnitsConfiguration', | ||||||||||
| 250 | from 'HashRef', | ||||||||||
| 251 | via { | ||||||||||
| 252 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 253 | 0 | return $f | |||||||||
| 254 | } else { | ||||||||||
| 255 | 0 | return Cfn::Resource::Properties::Object::AWS::Kendra::Index::CapacityUnitsConfiguration->new( %$_ ); | |||||||||
| 256 | } | ||||||||||
| 257 | 1 | }; | |||||||||
| 258 | |||||||||||
| 259 | 1 | package Cfn::Resource::Properties::Object::AWS::Kendra::Index::CapacityUnitsConfiguration { | |||||||||
| 260 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 261 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 262 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 263 | |||||||||||
| 264 | 1 | has QueryCapacityUnits => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 265 | 1 | has StorageCapacityUnits => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 266 | } | ||||||||||
| 267 | |||||||||||
| 268 | 1 | package Cfn::Resource::Properties::AWS::Kendra::Index { | |||||||||
| 269 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 270 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 271 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 272 | |||||||||||
| 273 | 1 | has CapacityUnits => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Index::CapacityUnitsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 274 | 1 | has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 275 | 1 | has DocumentMetadataConfigurations => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Index::DocumentMetadataConfigurationList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 276 | 1 | has Edition => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 277 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 278 | 1 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 279 | 1 | has ServerSideEncryptionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Index::ServerSideEncryptionConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 280 | 1 | has Tags => (isa => 'Cfn::Resource::Properties::AWS::Kendra::Index::TagList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 281 | } | ||||||||||
| 282 | |||||||||||
| 283 | 1 | 1; | |||||||||
| 284 | ### main pod documentation begin ### | ||||||||||
| 285 | |||||||||||
| 286 | =encoding UTF-8 | ||||||||||
| 287 | |||||||||||
| 288 | =head1 NAME | ||||||||||
| 289 | |||||||||||
| 290 | Cfn::Resource::AWS::Kendra::Index - Cfn resource for AWS::Kendra::Index | ||||||||||
| 291 | |||||||||||
| 292 | =head1 DESCRIPTION | ||||||||||
| 293 | |||||||||||
| 294 | This module implements a Perl module that represents the CloudFormation object AWS::Kendra::Index. | ||||||||||
| 295 | |||||||||||
| 296 | See L<Cfn> for more information on how to use it. | ||||||||||
| 297 | |||||||||||
| 298 | =head1 AUTHOR | ||||||||||
| 299 | |||||||||||
| 300 | Jose Luis Martinez | ||||||||||
| 301 | CAPSiDE | ||||||||||
| 302 | jlmartinez@capside.com | ||||||||||
| 303 | |||||||||||
| 304 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 305 | |||||||||||
| 306 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 307 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 308 | license can be found in the LICENSE file included with this module. | ||||||||||
| 309 | |||||||||||
| 310 | =cut | ||||||||||