Cfn/Resource/AWS/MWAA/Environment.pm untested

filter: Statementstmt 0.0% 0 / 131 Branchbran 0.0% 0 / 8 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 14 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 155 CC 1 SCAR 6.9
CC
1
Cov
0%
AttributeList
2.0
supported_regions
2.0
BEGIN
2.0
CRAP 2.0
1 # AWS::MWAA::Environment generated from spec 34.0.0
2 use Moose::Util::TypeConstraints;
3  
4 coerce 'Cfn::Resource::Properties::AWS::MWAA::Environment',
5 from 'HashRef',
6 via { Cfn::Resource::Properties::AWS::MWAA::Environment->new( %$_ ) };
7  
8 package Cfn::Resource::AWS::MWAA::Environment {
9 use Moose;
10 extends 'Cfn::Resource';
11 has Properties => (isa => 'Cfn::Resource::Properties::AWS::MWAA::Environment', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 [ 'Arn','WebserverUrl' ]
15 }
16 sub supported_regions {
17 [ 'ap-northeast-1','ap-southeast-1','ap-southeast-2','eu-central-1','eu-north-1','eu-west-1','us-east-1','us-east-2','us-west-2' ]
18 }
19 }
20  
21  
22  
23 subtype 'Cfn::Resource::Properties::AWS::MWAA::Environment::ModuleLoggingConfiguration',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::MWAA::Environment::ModuleLoggingConfiguration',
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::MWAA::Environment::ModuleLoggingConfiguration->new( %$_ );
33 }
34 };
35  
36 package Cfn::Resource::Properties::Object::AWS::MWAA::Environment::ModuleLoggingConfiguration {
37 use Moose;
38 use MooseX::StrictConstructor;
39 extends 'Cfn::Value::TypedValue';
40
41 has CloudWatchLogGroupArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 has LogLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 }
45  
46 subtype 'Cfn::Resource::Properties::AWS::MWAA::Environment::TagMap',
47 as 'Cfn::Value';
48  
49 coerce 'Cfn::Resource::Properties::AWS::MWAA::Environment::TagMap',
50 from 'HashRef',
51 via {
52 if (my $f = Cfn::TypeLibrary::try_function($_)) {
53 return $f
54 } else {
55 return Cfn::Resource::Properties::Object::AWS::MWAA::Environment::TagMap->new( %$_ );
56 }
57 };
58  
59 package Cfn::Resource::Properties::Object::AWS::MWAA::Environment::TagMap {
60 use Moose;
61 use MooseX::StrictConstructor;
62 extends 'Cfn::Value::TypedValue';
63
64 }
65  
66 subtype 'Cfn::Resource::Properties::AWS::MWAA::Environment::NetworkConfiguration',
67 as 'Cfn::Value';
68  
69 coerce 'Cfn::Resource::Properties::AWS::MWAA::Environment::NetworkConfiguration',
70 from 'HashRef',
71 via {
72 if (my $f = Cfn::TypeLibrary::try_function($_)) {
73 return $f
74 } else {
75 return Cfn::Resource::Properties::Object::AWS::MWAA::Environment::NetworkConfiguration->new( %$_ );
76 }
77 };
78  
79 package Cfn::Resource::Properties::Object::AWS::MWAA::Environment::NetworkConfiguration {
80 use Moose;
81 use MooseX::StrictConstructor;
82 extends 'Cfn::Value::TypedValue';
83
84 has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85 has SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
86 }
87  
88 subtype 'Cfn::Resource::Properties::AWS::MWAA::Environment::LoggingConfiguration',
89 as 'Cfn::Value';
90  
91 coerce 'Cfn::Resource::Properties::AWS::MWAA::Environment::LoggingConfiguration',
92 from 'HashRef',
93 via {
94 if (my $f = Cfn::TypeLibrary::try_function($_)) {
95 return $f
96 } else {
97 return Cfn::Resource::Properties::Object::AWS::MWAA::Environment::LoggingConfiguration->new( %$_ );
98 }
99 };
100  
101 package Cfn::Resource::Properties::Object::AWS::MWAA::Environment::LoggingConfiguration {
102 use Moose;
103 use MooseX::StrictConstructor;
104 extends 'Cfn::Value::TypedValue';
105
106 has DagProcessingLogs => (isa => 'Cfn::Resource::Properties::AWS::MWAA::Environment::ModuleLoggingConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
107 has SchedulerLogs => (isa => 'Cfn::Resource::Properties::AWS::MWAA::Environment::ModuleLoggingConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108 has TaskLogs => (isa => 'Cfn::Resource::Properties::AWS::MWAA::Environment::ModuleLoggingConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
109 has WebserverLogs => (isa => 'Cfn::Resource::Properties::AWS::MWAA::Environment::ModuleLoggingConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110 has WorkerLogs => (isa => 'Cfn::Resource::Properties::AWS::MWAA::Environment::ModuleLoggingConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
111 }
112  
113 package Cfn::Resource::Properties::AWS::MWAA::Environment {
114 use Moose;
115 use MooseX::StrictConstructor;
116 extends 'Cfn::Resource::Properties';
117
118 has AirflowConfigurationOptions => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
119 has AirflowVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
120 has DagS3Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
121 has EnvironmentClass => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
122 has ExecutionRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
123 has KmsKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
124 has LoggingConfiguration => (isa => 'Cfn::Resource::Properties::AWS::MWAA::Environment::LoggingConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
125 has MaxWorkers => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
126 has MinWorkers => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
127 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
128 has NetworkConfiguration => (isa => 'Cfn::Resource::Properties::AWS::MWAA::Environment::NetworkConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
129 has PluginsS3ObjectVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
130 has PluginsS3Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
131 has RequirementsS3ObjectVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
132 has RequirementsS3Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
133 has SourceBucketArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
134 has Tags => (isa => 'Cfn::Resource::Properties::AWS::MWAA::Environment::TagMap', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
135 has WebserverAccessMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
136 has WeeklyMaintenanceWindowStart => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
137 }
138  
139 1;
140 ### main pod documentation begin ###
141  
142 =encoding UTF-8
143  
144 =head1 NAME
145  
146 Cfn::Resource::AWS::MWAA::Environment - Cfn resource for AWS::MWAA::Environment
147  
148 =head1 DESCRIPTION
149  
150 This module implements a Perl module that represents the CloudFormation object AWS::MWAA::Environment.
151  
152 See L<Cfn> for more information on how to use it.
153  
154 =head1 AUTHOR
155  
156 Jose Luis Martinez
157 CAPSiDE
158 jlmartinez@capside.com
159  
160 =head1 COPYRIGHT and LICENSE
161  
162 Copyright (c) 2013 by CAPSiDE
163 This code is distributed under the Apache 2 License. The full text of the
164 license can be found in the LICENSE file included with this module.
165  
166 =cut