Cfn/Resource/AWS/IoTAnalytics/Channel.pm untested

filter: Statementstmt 0.0% 0 / 94 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 / 118 CC 1 SCAR 6.9
CC
1
Cov
0%
AttributeList
2.0
supported_regions
2.0
BEGIN
2.0
CRAP 2.0
1 # AWS::IoTAnalytics::Channel generated from spec 20.1.0
2 use Moose::Util::TypeConstraints;
3  
4 coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel',
5 from 'HashRef',
6 via { Cfn::Resource::Properties::AWS::IoTAnalytics::Channel->new( %$_ ) };
7  
8 package Cfn::Resource::AWS::IoTAnalytics::Channel {
9 use Moose;
10 extends 'Cfn::Resource';
11 has Properties => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 [ ]
15 }
16 sub supported_regions {
17 [ 'ap-northeast-1','ap-southeast-2','cn-north-1','eu-central-1','eu-west-1','us-east-1','us-east-2','us-west-2' ]
18 }
19 }
20  
21  
22  
23 subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::ServiceManagedS3',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::ServiceManagedS3',
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::IoTAnalytics::Channel::ServiceManagedS3->new( %$_ );
33 }
34 };
35  
36 package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Channel::ServiceManagedS3 {
37 use Moose;
38 use MooseX::StrictConstructor;
39 extends 'Cfn::Value::TypedValue';
40
41 }
42  
43 subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::CustomerManagedS3',
44 as 'Cfn::Value';
45  
46 coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::CustomerManagedS3',
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::IoTAnalytics::Channel::CustomerManagedS3->new( %$_ );
53 }
54 };
55  
56 package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Channel::CustomerManagedS3 {
57 use Moose;
58 use MooseX::StrictConstructor;
59 extends 'Cfn::Value::TypedValue';
60
61 has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
62 has KeyPrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64 }
65  
66 subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::RetentionPeriod',
67 as 'Cfn::Value';
68  
69 coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::RetentionPeriod',
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::IoTAnalytics::Channel::RetentionPeriod->new( %$_ );
76 }
77 };
78  
79 package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Channel::RetentionPeriod {
80 use Moose;
81 use MooseX::StrictConstructor;
82 extends 'Cfn::Value::TypedValue';
83
84 has NumberOfDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85 has Unlimited => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 }
87  
88 subtype 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::ChannelStorage',
89 as 'Cfn::Value';
90  
91 coerce 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::ChannelStorage',
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::IoTAnalytics::Channel::ChannelStorage->new( %$_ );
98 }
99 };
100  
101 package Cfn::Resource::Properties::Object::AWS::IoTAnalytics::Channel::ChannelStorage {
102 use Moose;
103 use MooseX::StrictConstructor;
104 extends 'Cfn::Value::TypedValue';
105
106 has CustomerManagedS3 => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::CustomerManagedS3', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
107 has ServiceManagedS3 => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::ServiceManagedS3', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108 }
109  
110 package Cfn::Resource::Properties::AWS::IoTAnalytics::Channel {
111 use Moose;
112 use MooseX::StrictConstructor;
113 extends 'Cfn::Resource::Properties';
114
115 has ChannelName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
116 has ChannelStorage => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::ChannelStorage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
117 has RetentionPeriod => (isa => 'Cfn::Resource::Properties::AWS::IoTAnalytics::Channel::RetentionPeriod', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
118 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
119 }
120  
121 1;
122 ### main pod documentation begin ###
123  
124 =encoding UTF-8
125  
126 =head1 NAME
127  
128 Cfn::Resource::AWS::IoTAnalytics::Channel - Cfn resource for AWS::IoTAnalytics::Channel
129  
130 =head1 DESCRIPTION
131  
132 This module implements a Perl module that represents the CloudFormation object AWS::IoTAnalytics::Channel.
133  
134 See L<Cfn> for more information on how to use it.
135  
136 =head1 AUTHOR
137  
138 Jose Luis Martinez
139 CAPSiDE
140 jlmartinez@capside.com
141  
142 =head1 COPYRIGHT and LICENSE
143  
144 Copyright (c) 2013 by CAPSiDE
145 This code is distributed under the Apache 2 License. The full text of the
146 license can be found in the LICENSE file included with this module.
147  
148 =cut