File Coverage

blib/lib/Cfn/Resource/AWS/Athena/WorkGroup.pm
Criterion Covered Total %
statement 50 50 100.0
branch n/a
condition n/a
subroutine 18 18 100.0
pod 0 2 0.0
total 68 70 97.1


line stmt bran cond sub pod time code
1             # AWS::Athena::WorkGroup generated from spec 18.4.0
2 1     1   702 use Moose::Util::TypeConstraints;
  1         3  
  1         11  
3              
4             coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::Athena::WorkGroup->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::Athena::WorkGroup {
9 1     1   2158 use Moose;
  1         2  
  1         6  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 3 [ 'CreationTime' ]
15             }
16             sub supported_regions {
17 1     1 0 1121 [ 'ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
18             }
19             }
20              
21              
22              
23             subtype 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::EncryptionConfiguration',
24             as 'Cfn::Value';
25              
26             coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::EncryptionConfiguration',
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::Athena::WorkGroup::EncryptionConfiguration->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::EncryptionConfiguration {
37 1     1   7022 use Moose;
  1         4  
  1         7  
38 1     1   6556 use MooseX::StrictConstructor;
  1         2  
  1         9  
39             extends 'Cfn::Value::TypedValue';
40            
41             has EncryptionOption => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             has KmsKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43             }
44              
45             subtype 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfigurationUpdates',
46             as 'Cfn::Value';
47              
48             coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfigurationUpdates',
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::Athena::WorkGroup::ResultConfigurationUpdates->new( %$_ );
55             }
56             };
57              
58             package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::ResultConfigurationUpdates {
59 1     1   3517 use Moose;
  1         3  
  1         4  
60 1     1   6499 use MooseX::StrictConstructor;
  1         5  
  1         5  
61             extends 'Cfn::Value::TypedValue';
62            
63             has EncryptionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::EncryptionConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64             has OutputLocation => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65             has RemoveEncryptionConfiguration => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
66             has RemoveOutputLocation => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67             }
68              
69             subtype 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfiguration',
70             as 'Cfn::Value';
71              
72             coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfiguration',
73             from 'HashRef',
74             via {
75             if (my $f = Cfn::TypeLibrary::try_function($_)) {
76             return $f
77             } else {
78             return Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::ResultConfiguration->new( %$_ );
79             }
80             };
81              
82             package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::ResultConfiguration {
83 1     1   3479 use Moose;
  1         3  
  1         5  
84 1     1   6813 use MooseX::StrictConstructor;
  1         4  
  1         4  
85             extends 'Cfn::Value::TypedValue';
86            
87             has EncryptionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::EncryptionConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
88             has OutputLocation => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89             }
90              
91             subtype 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfigurationUpdates',
92             as 'Cfn::Value';
93              
94             coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfigurationUpdates',
95             from 'HashRef',
96             via {
97             if (my $f = Cfn::TypeLibrary::try_function($_)) {
98             return $f
99             } else {
100             return Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::WorkGroupConfigurationUpdates->new( %$_ );
101             }
102             };
103              
104             package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::WorkGroupConfigurationUpdates {
105 1     1   3449 use Moose;
  1         3  
  1         5  
106 1     1   6684 use MooseX::StrictConstructor;
  1         2  
  1         6  
107             extends 'Cfn::Value::TypedValue';
108            
109             has BytesScannedCutoffPerQuery => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110             has EnforceWorkGroupConfiguration => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
111             has PublishCloudWatchMetricsEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
112             has RemoveBytesScannedCutoffPerQuery => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
113             has RequesterPaysEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
114             has ResultConfigurationUpdates => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfigurationUpdates', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
115             }
116              
117             subtype 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfiguration',
118             as 'Cfn::Value';
119              
120             coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfiguration',
121             from 'HashRef',
122             via {
123             if (my $f = Cfn::TypeLibrary::try_function($_)) {
124             return $f
125             } else {
126             return Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::WorkGroupConfiguration->new( %$_ );
127             }
128             };
129              
130             package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::WorkGroupConfiguration {
131 1     1   3374 use Moose;
  1         2  
  1         10  
132 1     1   6508 use MooseX::StrictConstructor;
  1         3  
  1         6  
133             extends 'Cfn::Value::TypedValue';
134            
135             has BytesScannedCutoffPerQuery => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
136             has EnforceWorkGroupConfiguration => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
137             has PublishCloudWatchMetricsEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
138             has RequesterPaysEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
139             has ResultConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::ResultConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
140             }
141              
142             subtype 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::Tags',
143             as 'Cfn::Value';
144              
145             coerce 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::Tags',
146             from 'HashRef',
147             via {
148             if (my $f = Cfn::TypeLibrary::try_function($_)) {
149             return $f
150             } else {
151             return Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::Tags->new( %$_ );
152             }
153             };
154              
155             package Cfn::Resource::Properties::Object::AWS::Athena::WorkGroup::Tags {
156 1     1   3474 use Moose;
  1         4  
  1         5  
157 1     1   6619 use MooseX::StrictConstructor;
  1         2  
  1         11  
158             extends 'Cfn::Value::TypedValue';
159            
160             has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
161             }
162              
163             package Cfn::Resource::Properties::AWS::Athena::WorkGroup {
164 1     1   3192 use Moose;
  1         3  
  1         5  
165 1     1   7152 use MooseX::StrictConstructor;
  1         3  
  1         4  
166             extends 'Cfn::Resource::Properties';
167            
168             has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
169             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
170             has RecursiveDeleteOption => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
171             has State => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
172             has Tags => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::Tags', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
173             has WorkGroupConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
174             has WorkGroupConfigurationUpdates => (isa => 'Cfn::Resource::Properties::AWS::Athena::WorkGroup::WorkGroupConfigurationUpdates', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
175             }
176              
177             1;
178             ### main pod documentation begin ###
179              
180             =encoding UTF-8
181              
182             =head1 NAME
183              
184             Cfn::Resource::AWS::Athena::WorkGroup - Cfn resource for AWS::Athena::WorkGroup
185              
186             =head1 DESCRIPTION
187              
188             This module implements a Perl module that represents the CloudFormation object AWS::Athena::WorkGroup.
189              
190             See L<Cfn> for more information on how to use it.
191              
192             =head1 AUTHOR
193              
194             Jose Luis Martinez
195             CAPSiDE
196             jlmartinez@capside.com
197              
198             =head1 COPYRIGHT and LICENSE
199              
200             Copyright (c) 2013 by CAPSiDE
201             This code is distributed under the Apache 2 License. The full text of the
202             license can be found in the LICENSE file included with this module.
203              
204             =cut