File Coverage

blib/lib/Cfn/Resource/AWS/LakeFormation/Permissions.pm
Criterion Covered Total %
statement 62 62 100.0
branch n/a
condition n/a
subroutine 22 22 100.0
pod 0 2 0.0
total 84 86 97.6


line stmt bran cond sub pod time code
1             # AWS::LakeFormation::Permissions generated from spec 18.4.0
2 1     1   591 use Moose::Util::TypeConstraints;
  1         3  
  1         10  
3              
4             coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::LakeFormation::Permissions->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::LakeFormation::Permissions {
9 1     1   2022 use Moose;
  1         2  
  1         7  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 4 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1195 [ 'ap-northeast-1','eu-west-1','us-east-1','us-east-2','us-west-2' ]
18             }
19             }
20              
21              
22              
23             subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableWildcard',
24             as 'Cfn::Value';
25              
26             coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableWildcard',
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::LakeFormation::Permissions::TableWildcard->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::TableWildcard {
37 1     1   6815 use Moose;
  1         4  
  1         6  
38 1     1   6513 use MooseX::StrictConstructor;
  1         3  
  1         9  
39             extends 'Cfn::Value::TypedValue';
40            
41             }
42              
43             subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::ColumnWildcard',
44             as 'Cfn::Value';
45              
46             coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::ColumnWildcard',
47             from 'HashRef',
48             via {
49             if (my $f = Cfn::TypeLibrary::try_function($_)) {
50             return $f
51             } else {
52             return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::ColumnWildcard->new( %$_ );
53             }
54             };
55              
56             package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::ColumnWildcard {
57 1     1   3807 use Moose;
  1         4  
  1         5  
58 1     1   6539 use MooseX::StrictConstructor;
  1         4  
  1         6  
59             extends 'Cfn::Value::TypedValue';
60            
61             has ExcludedColumnNames => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
62             }
63              
64             subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableWithColumnsResource',
65             as 'Cfn::Value';
66              
67             coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableWithColumnsResource',
68             from 'HashRef',
69             via {
70             if (my $f = Cfn::TypeLibrary::try_function($_)) {
71             return $f
72             } else {
73             return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::TableWithColumnsResource->new( %$_ );
74             }
75             };
76              
77             package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::TableWithColumnsResource {
78 1     1   3453 use Moose;
  1         2  
  1         5  
79 1     1   6539 use MooseX::StrictConstructor;
  1         3  
  1         5  
80             extends 'Cfn::Value::TypedValue';
81            
82             has CatalogId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
83             has ColumnNames => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
84             has ColumnWildcard => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::ColumnWildcard', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85             has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87             }
88              
89             subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableResource',
90             as 'Cfn::Value';
91              
92             coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableResource',
93             from 'HashRef',
94             via {
95             if (my $f = Cfn::TypeLibrary::try_function($_)) {
96             return $f
97             } else {
98             return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::TableResource->new( %$_ );
99             }
100             };
101              
102             package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::TableResource {
103 1     1   3396 use Moose;
  1         4  
  1         7  
104 1     1   6618 use MooseX::StrictConstructor;
  1         3  
  1         6  
105             extends 'Cfn::Value::TypedValue';
106            
107             has CatalogId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108             has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
109             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110             has TableWildcard => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableWildcard', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
111             }
112              
113             subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DatabaseResource',
114             as 'Cfn::Value';
115              
116             coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DatabaseResource',
117             from 'HashRef',
118             via {
119             if (my $f = Cfn::TypeLibrary::try_function($_)) {
120             return $f
121             } else {
122             return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DatabaseResource->new( %$_ );
123             }
124             };
125              
126             package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DatabaseResource {
127 1     1   3423 use Moose;
  1         2  
  1         6  
128 1     1   6579 use MooseX::StrictConstructor;
  1         2  
  1         6  
129             extends 'Cfn::Value::TypedValue';
130            
131             has CatalogId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
132             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
133             }
134              
135             subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLocationResource',
136             as 'Cfn::Value';
137              
138             coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLocationResource',
139             from 'HashRef',
140             via {
141             if (my $f = Cfn::TypeLibrary::try_function($_)) {
142             return $f
143             } else {
144             return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DataLocationResource->new( %$_ );
145             }
146             };
147              
148             package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DataLocationResource {
149 1     1   3378 use Moose;
  1         5  
  1         6  
150 1     1   6529 use MooseX::StrictConstructor;
  1         4  
  1         6  
151             extends 'Cfn::Value::TypedValue';
152            
153             has CatalogId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
154             has S3Resource => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
155             }
156              
157             subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::Resource',
158             as 'Cfn::Value';
159              
160             coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::Resource',
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::LakeFormation::Permissions::Resource->new( %$_ );
167             }
168             };
169              
170             package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::Resource {
171 1     1   3388 use Moose;
  1         4  
  1         6  
172 1     1   6609 use MooseX::StrictConstructor;
  1         2  
  1         5  
173             extends 'Cfn::Value::TypedValue';
174            
175             has DatabaseResource => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DatabaseResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
176             has DataLocationResource => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLocationResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
177             has TableResource => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
178             has TableWithColumnsResource => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableWithColumnsResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
179             }
180              
181             subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLakePrincipal',
182             as 'Cfn::Value';
183              
184             coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLakePrincipal',
185             from 'HashRef',
186             via {
187             if (my $f = Cfn::TypeLibrary::try_function($_)) {
188             return $f
189             } else {
190             return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DataLakePrincipal->new( %$_ );
191             }
192             };
193              
194             package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DataLakePrincipal {
195 1     1   3417 use Moose;
  1         4  
  1         7  
196 1     1   6647 use MooseX::StrictConstructor;
  1         4  
  1         5  
197             extends 'Cfn::Value::TypedValue';
198            
199             has DataLakePrincipalIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
200             }
201              
202             package Cfn::Resource::Properties::AWS::LakeFormation::Permissions {
203 1     1   3298 use Moose;
  1         5  
  1         9  
204 1     1   6558 use MooseX::StrictConstructor;
  1         2  
  1         7  
205             extends 'Cfn::Resource::Properties';
206            
207             has DataLakePrincipal => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLakePrincipal', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
208             has Permissions => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
209             has PermissionsWithGrantOption => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
210             has Resource => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::Resource', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
211             }
212              
213             1;
214             ### main pod documentation begin ###
215              
216             =encoding UTF-8
217              
218             =head1 NAME
219              
220             Cfn::Resource::AWS::LakeFormation::Permissions - Cfn resource for AWS::LakeFormation::Permissions
221              
222             =head1 DESCRIPTION
223              
224             This module implements a Perl module that represents the CloudFormation object AWS::LakeFormation::Permissions.
225              
226             See L<Cfn> for more information on how to use it.
227              
228             =head1 AUTHOR
229              
230             Jose Luis Martinez
231             CAPSiDE
232             jlmartinez@capside.com
233              
234             =head1 COPYRIGHT and LICENSE
235              
236             Copyright (c) 2013 by CAPSiDE
237             This code is distributed under the Apache 2 License. The full text of the
238             license can be found in the LICENSE file included with this module.
239              
240             =cut