line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::Events::Rule generated from spec 20.1.0 |
2
|
2
|
|
|
2
|
|
1541
|
use Moose::Util::TypeConstraints; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
22
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule', |
5
|
|
|
|
|
|
|
from 'HashRef', |
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::Events::Rule->new( %$_ ) }; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::Events::Rule { |
9
|
2
|
|
|
2
|
|
4536
|
use Moose; |
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
16
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
1
|
|
|
1
|
0
|
4
|
[ 'Arn' ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
1
|
|
|
1
|
0
|
1123
|
[ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','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-south-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::Events::Rule::AwsVpcConfiguration', |
24
|
|
|
|
|
|
|
as 'Cfn::Value'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::AwsVpcConfiguration', |
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::Events::Rule::AwsVpcConfiguration->new( %$_ ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
}; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::AwsVpcConfiguration { |
37
|
2
|
|
|
2
|
|
15450
|
use Moose; |
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
11
|
|
38
|
2
|
|
|
2
|
|
13197
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
34
|
|
39
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
has AssignPublicIp => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
42
|
|
|
|
|
|
|
has SecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
43
|
|
|
|
|
|
|
has Subnets => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::Events::Rule::RunCommandTarget', |
46
|
|
|
|
|
|
|
as 'Cfn::Value', |
47
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
48
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::Events::Rule::RunCommandTarget', |
51
|
|
|
|
|
|
|
from 'HashRef', |
52
|
|
|
|
|
|
|
via { |
53
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
54
|
|
|
|
|
|
|
return $f |
55
|
|
|
|
|
|
|
} else { |
56
|
|
|
|
|
|
|
die 'Only accepts functions'; |
57
|
|
|
|
|
|
|
} |
58
|
|
|
|
|
|
|
}, |
59
|
|
|
|
|
|
|
from 'ArrayRef', |
60
|
|
|
|
|
|
|
via { |
61
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
62
|
|
|
|
|
|
|
map { |
63
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Events::Rule::RunCommandTarget')->coerce($_) |
64
|
|
|
|
|
|
|
} @$_ |
65
|
|
|
|
|
|
|
]); |
66
|
|
|
|
|
|
|
}; |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::RunCommandTarget', |
69
|
|
|
|
|
|
|
as 'Cfn::Value'; |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::RunCommandTarget', |
72
|
|
|
|
|
|
|
from 'HashRef', |
73
|
|
|
|
|
|
|
via { |
74
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
75
|
|
|
|
|
|
|
return $f |
76
|
|
|
|
|
|
|
} else { |
77
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::RunCommandTarget->new( %$_ ); |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
}; |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::RunCommandTarget { |
82
|
2
|
|
|
2
|
|
7852
|
use Moose; |
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
14
|
|
83
|
2
|
|
|
2
|
|
13526
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
13
|
|
84
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
87
|
|
|
|
|
|
|
has Values => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::NetworkConfiguration', |
91
|
|
|
|
|
|
|
as 'Cfn::Value'; |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::NetworkConfiguration', |
94
|
|
|
|
|
|
|
from 'HashRef', |
95
|
|
|
|
|
|
|
via { |
96
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
97
|
|
|
|
|
|
|
return $f |
98
|
|
|
|
|
|
|
} else { |
99
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::NetworkConfiguration->new( %$_ ); |
100
|
|
|
|
|
|
|
} |
101
|
|
|
|
|
|
|
}; |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::NetworkConfiguration { |
104
|
2
|
|
|
2
|
|
6757
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
11
|
|
105
|
2
|
|
|
2
|
|
13213
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
10
|
|
106
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
has AwsVpcConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::AwsVpcConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
109
|
|
|
|
|
|
|
} |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::BatchRetryStrategy', |
112
|
|
|
|
|
|
|
as 'Cfn::Value'; |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::BatchRetryStrategy', |
115
|
|
|
|
|
|
|
from 'HashRef', |
116
|
|
|
|
|
|
|
via { |
117
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
118
|
|
|
|
|
|
|
return $f |
119
|
|
|
|
|
|
|
} else { |
120
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::BatchRetryStrategy->new( %$_ ); |
121
|
|
|
|
|
|
|
} |
122
|
|
|
|
|
|
|
}; |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::BatchRetryStrategy { |
125
|
2
|
|
|
2
|
|
6718
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
20
|
|
126
|
2
|
|
|
2
|
|
13181
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
10
|
|
127
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
has Attempts => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
130
|
|
|
|
|
|
|
} |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::BatchArrayProperties', |
133
|
|
|
|
|
|
|
as 'Cfn::Value'; |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::BatchArrayProperties', |
136
|
|
|
|
|
|
|
from 'HashRef', |
137
|
|
|
|
|
|
|
via { |
138
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
139
|
|
|
|
|
|
|
return $f |
140
|
|
|
|
|
|
|
} else { |
141
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::BatchArrayProperties->new( %$_ ); |
142
|
|
|
|
|
|
|
} |
143
|
|
|
|
|
|
|
}; |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::BatchArrayProperties { |
146
|
2
|
|
|
2
|
|
6829
|
use Moose; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
9
|
|
147
|
2
|
|
|
2
|
|
13241
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
11
|
|
148
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
has Size => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::SqsParameters', |
154
|
|
|
|
|
|
|
as 'Cfn::Value'; |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::SqsParameters', |
157
|
|
|
|
|
|
|
from 'HashRef', |
158
|
|
|
|
|
|
|
via { |
159
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
160
|
|
|
|
|
|
|
return $f |
161
|
|
|
|
|
|
|
} else { |
162
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::SqsParameters->new( %$_ ); |
163
|
|
|
|
|
|
|
} |
164
|
|
|
|
|
|
|
}; |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::SqsParameters { |
167
|
2
|
|
|
2
|
|
6719
|
use Moose; |
|
2
|
|
|
|
|
19
|
|
|
2
|
|
|
|
|
13
|
|
168
|
2
|
|
|
2
|
|
13167
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
11
|
|
|
2
|
|
|
|
|
12
|
|
169
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
has MessageGroupId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
172
|
|
|
|
|
|
|
} |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::RunCommandParameters', |
175
|
|
|
|
|
|
|
as 'Cfn::Value'; |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::RunCommandParameters', |
178
|
|
|
|
|
|
|
from 'HashRef', |
179
|
|
|
|
|
|
|
via { |
180
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
181
|
|
|
|
|
|
|
return $f |
182
|
|
|
|
|
|
|
} else { |
183
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::RunCommandParameters->new( %$_ ); |
184
|
|
|
|
|
|
|
} |
185
|
|
|
|
|
|
|
}; |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::RunCommandParameters { |
188
|
2
|
|
|
2
|
|
6657
|
use Moose; |
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
12
|
|
189
|
2
|
|
|
2
|
|
13284
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
11
|
|
190
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
has RunCommandTargets => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Events::Rule::RunCommandTarget', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
193
|
|
|
|
|
|
|
} |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::RetryPolicy', |
196
|
|
|
|
|
|
|
as 'Cfn::Value'; |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::RetryPolicy', |
199
|
|
|
|
|
|
|
from 'HashRef', |
200
|
|
|
|
|
|
|
via { |
201
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
202
|
|
|
|
|
|
|
return $f |
203
|
|
|
|
|
|
|
} else { |
204
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::RetryPolicy->new( %$_ ); |
205
|
|
|
|
|
|
|
} |
206
|
|
|
|
|
|
|
}; |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::RetryPolicy { |
209
|
2
|
|
|
2
|
|
6804
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
17
|
|
210
|
2
|
|
|
2
|
|
13351
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
14
|
|
211
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
has MaximumEventAgeInSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
214
|
|
|
|
|
|
|
has MaximumRetryAttempts => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
215
|
|
|
|
|
|
|
} |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::RedshiftDataParameters', |
218
|
|
|
|
|
|
|
as 'Cfn::Value'; |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::RedshiftDataParameters', |
221
|
|
|
|
|
|
|
from 'HashRef', |
222
|
|
|
|
|
|
|
via { |
223
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
224
|
|
|
|
|
|
|
return $f |
225
|
|
|
|
|
|
|
} else { |
226
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::RedshiftDataParameters->new( %$_ ); |
227
|
|
|
|
|
|
|
} |
228
|
|
|
|
|
|
|
}; |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::RedshiftDataParameters { |
231
|
2
|
|
|
2
|
|
7056
|
use Moose; |
|
2
|
|
|
|
|
23
|
|
|
2
|
|
|
|
|
15
|
|
232
|
2
|
|
|
2
|
|
13626
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
18
|
|
233
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
has Database => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
236
|
|
|
|
|
|
|
has DbUser => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
237
|
|
|
|
|
|
|
has SecretManagerArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
238
|
|
|
|
|
|
|
has Sql => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
239
|
|
|
|
|
|
|
has StatementName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
240
|
|
|
|
|
|
|
has WithEvent => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
241
|
|
|
|
|
|
|
} |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::KinesisParameters', |
244
|
|
|
|
|
|
|
as 'Cfn::Value'; |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::KinesisParameters', |
247
|
|
|
|
|
|
|
from 'HashRef', |
248
|
|
|
|
|
|
|
via { |
249
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
250
|
|
|
|
|
|
|
return $f |
251
|
|
|
|
|
|
|
} else { |
252
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::KinesisParameters->new( %$_ ); |
253
|
|
|
|
|
|
|
} |
254
|
|
|
|
|
|
|
}; |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::KinesisParameters { |
257
|
2
|
|
|
2
|
|
6781
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
13
|
|
258
|
2
|
|
|
2
|
|
13415
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
11
|
|
|
2
|
|
|
|
|
23
|
|
259
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
has PartitionKeyPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
262
|
|
|
|
|
|
|
} |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::InputTransformer', |
265
|
|
|
|
|
|
|
as 'Cfn::Value'; |
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::InputTransformer', |
268
|
|
|
|
|
|
|
from 'HashRef', |
269
|
|
|
|
|
|
|
via { |
270
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
271
|
|
|
|
|
|
|
return $f |
272
|
|
|
|
|
|
|
} else { |
273
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::InputTransformer->new( %$_ ); |
274
|
|
|
|
|
|
|
} |
275
|
|
|
|
|
|
|
}; |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::InputTransformer { |
278
|
2
|
|
|
2
|
|
6641
|
use Moose; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
15
|
|
279
|
2
|
|
|
2
|
|
13086
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
11
|
|
|
2
|
|
|
|
|
20
|
|
280
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
has InputPathsMap => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
283
|
|
|
|
|
|
|
has InputTemplate => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
284
|
|
|
|
|
|
|
} |
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::HttpParameters', |
287
|
|
|
|
|
|
|
as 'Cfn::Value'; |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::HttpParameters', |
290
|
|
|
|
|
|
|
from 'HashRef', |
291
|
|
|
|
|
|
|
via { |
292
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
293
|
|
|
|
|
|
|
return $f |
294
|
|
|
|
|
|
|
} else { |
295
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::HttpParameters->new( %$_ ); |
296
|
|
|
|
|
|
|
} |
297
|
|
|
|
|
|
|
}; |
298
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::HttpParameters { |
300
|
2
|
|
|
2
|
|
6777
|
use Moose; |
|
2
|
|
|
|
|
43
|
|
|
2
|
|
|
|
|
17
|
|
301
|
2
|
|
|
2
|
|
13167
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
11
|
|
302
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
303
|
|
|
|
|
|
|
|
304
|
|
|
|
|
|
|
has HeaderParameters => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
305
|
|
|
|
|
|
|
has PathParameterValues => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
306
|
|
|
|
|
|
|
has QueryStringParameters => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
307
|
|
|
|
|
|
|
} |
308
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::EcsParameters', |
310
|
|
|
|
|
|
|
as 'Cfn::Value'; |
311
|
|
|
|
|
|
|
|
312
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::EcsParameters', |
313
|
|
|
|
|
|
|
from 'HashRef', |
314
|
|
|
|
|
|
|
via { |
315
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
316
|
|
|
|
|
|
|
return $f |
317
|
|
|
|
|
|
|
} else { |
318
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::EcsParameters->new( %$_ ); |
319
|
|
|
|
|
|
|
} |
320
|
|
|
|
|
|
|
}; |
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::EcsParameters { |
323
|
2
|
|
|
2
|
|
7309
|
use Moose; |
|
2
|
|
|
|
|
17
|
|
|
2
|
|
|
|
|
12
|
|
324
|
2
|
|
|
2
|
|
13418
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
12
|
|
325
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
326
|
|
|
|
|
|
|
|
327
|
|
|
|
|
|
|
has Group => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
328
|
|
|
|
|
|
|
has LaunchType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
329
|
|
|
|
|
|
|
has NetworkConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::NetworkConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
330
|
|
|
|
|
|
|
has PlatformVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
331
|
|
|
|
|
|
|
has TaskCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
332
|
|
|
|
|
|
|
has TaskDefinitionArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
333
|
|
|
|
|
|
|
} |
334
|
|
|
|
|
|
|
|
335
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::DeadLetterConfig', |
336
|
|
|
|
|
|
|
as 'Cfn::Value'; |
337
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::DeadLetterConfig', |
339
|
|
|
|
|
|
|
from 'HashRef', |
340
|
|
|
|
|
|
|
via { |
341
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
342
|
|
|
|
|
|
|
return $f |
343
|
|
|
|
|
|
|
} else { |
344
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::DeadLetterConfig->new( %$_ ); |
345
|
|
|
|
|
|
|
} |
346
|
|
|
|
|
|
|
}; |
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::DeadLetterConfig { |
349
|
2
|
|
|
2
|
|
6905
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
13
|
|
350
|
2
|
|
|
2
|
|
13172
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
13
|
|
351
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
has Arn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
354
|
|
|
|
|
|
|
} |
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::BatchParameters', |
357
|
|
|
|
|
|
|
as 'Cfn::Value'; |
358
|
|
|
|
|
|
|
|
359
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::BatchParameters', |
360
|
|
|
|
|
|
|
from 'HashRef', |
361
|
|
|
|
|
|
|
via { |
362
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
363
|
|
|
|
|
|
|
return $f |
364
|
|
|
|
|
|
|
} else { |
365
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::BatchParameters->new( %$_ ); |
366
|
|
|
|
|
|
|
} |
367
|
|
|
|
|
|
|
}; |
368
|
|
|
|
|
|
|
|
369
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::BatchParameters { |
370
|
2
|
|
|
2
|
|
6829
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
11
|
|
371
|
2
|
|
|
2
|
|
13246
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
11
|
|
372
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
373
|
|
|
|
|
|
|
|
374
|
|
|
|
|
|
|
has ArrayProperties => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::BatchArrayProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
375
|
|
|
|
|
|
|
has JobDefinition => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
376
|
|
|
|
|
|
|
has JobName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
377
|
|
|
|
|
|
|
has RetryStrategy => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::BatchRetryStrategy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
378
|
|
|
|
|
|
|
} |
379
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::Events::Rule::Target', |
380
|
|
|
|
|
|
|
as 'Cfn::Value', |
381
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
382
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
383
|
|
|
|
|
|
|
|
384
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::Events::Rule::Target', |
385
|
|
|
|
|
|
|
from 'HashRef', |
386
|
|
|
|
|
|
|
via { |
387
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
388
|
|
|
|
|
|
|
return $f |
389
|
|
|
|
|
|
|
} else { |
390
|
|
|
|
|
|
|
die 'Only accepts functions'; |
391
|
|
|
|
|
|
|
} |
392
|
|
|
|
|
|
|
}, |
393
|
|
|
|
|
|
|
from 'ArrayRef', |
394
|
|
|
|
|
|
|
via { |
395
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
396
|
|
|
|
|
|
|
map { |
397
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Events::Rule::Target')->coerce($_) |
398
|
|
|
|
|
|
|
} @$_ |
399
|
|
|
|
|
|
|
]); |
400
|
|
|
|
|
|
|
}; |
401
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::Events::Rule::Target', |
403
|
|
|
|
|
|
|
as 'Cfn::Value'; |
404
|
|
|
|
|
|
|
|
405
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Events::Rule::Target', |
406
|
|
|
|
|
|
|
from 'HashRef', |
407
|
|
|
|
|
|
|
via { |
408
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
409
|
|
|
|
|
|
|
return $f |
410
|
|
|
|
|
|
|
} else { |
411
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::Events::Rule::Target->new( %$_ ); |
412
|
|
|
|
|
|
|
} |
413
|
|
|
|
|
|
|
}; |
414
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::Events::Rule::Target { |
416
|
2
|
|
|
2
|
|
7362
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
39
|
|
417
|
2
|
|
|
2
|
|
13256
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
13
|
|
418
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
419
|
|
|
|
|
|
|
|
420
|
|
|
|
|
|
|
has Arn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
421
|
|
|
|
|
|
|
has BatchParameters => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::BatchParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
422
|
|
|
|
|
|
|
has DeadLetterConfig => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::DeadLetterConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
423
|
|
|
|
|
|
|
has EcsParameters => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::EcsParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
424
|
|
|
|
|
|
|
has HttpParameters => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::HttpParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
425
|
|
|
|
|
|
|
has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
426
|
|
|
|
|
|
|
has Input => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
427
|
|
|
|
|
|
|
has InputPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
428
|
|
|
|
|
|
|
has InputTransformer => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::InputTransformer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
429
|
|
|
|
|
|
|
has KinesisParameters => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::KinesisParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
430
|
|
|
|
|
|
|
has RedshiftDataParameters => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::RedshiftDataParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
431
|
|
|
|
|
|
|
has RetryPolicy => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::RetryPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
432
|
|
|
|
|
|
|
has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
433
|
|
|
|
|
|
|
has RunCommandParameters => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::RunCommandParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
434
|
|
|
|
|
|
|
has SqsParameters => (isa => 'Cfn::Resource::Properties::AWS::Events::Rule::SqsParameters', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
435
|
|
|
|
|
|
|
} |
436
|
|
|
|
|
|
|
|
437
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Events::Rule { |
438
|
2
|
|
|
2
|
|
7007
|
use Moose; |
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
18
|
|
439
|
2
|
|
|
2
|
|
13158
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
18
|
|
|
2
|
|
|
|
|
12
|
|
440
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
441
|
|
|
|
|
|
|
|
442
|
|
|
|
|
|
|
has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
443
|
|
|
|
|
|
|
has EventBusName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
444
|
|
|
|
|
|
|
has EventPattern => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
445
|
|
|
|
|
|
|
has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
446
|
|
|
|
|
|
|
has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
447
|
|
|
|
|
|
|
has ScheduleExpression => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
448
|
|
|
|
|
|
|
has State => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
449
|
|
|
|
|
|
|
has Targets => (isa => 'ArrayOfCfn::Resource::Properties::AWS::Events::Rule::Target', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
450
|
|
|
|
|
|
|
} |
451
|
|
|
|
|
|
|
|
452
|
|
|
|
|
|
|
1; |
453
|
|
|
|
|
|
|
### main pod documentation begin ### |
454
|
|
|
|
|
|
|
|
455
|
|
|
|
|
|
|
=encoding UTF-8 |
456
|
|
|
|
|
|
|
|
457
|
|
|
|
|
|
|
=head1 NAME |
458
|
|
|
|
|
|
|
|
459
|
|
|
|
|
|
|
Cfn::Resource::AWS::Events::Rule - Cfn resource for AWS::Events::Rule |
460
|
|
|
|
|
|
|
|
461
|
|
|
|
|
|
|
=head1 DESCRIPTION |
462
|
|
|
|
|
|
|
|
463
|
|
|
|
|
|
|
This module implements a Perl module that represents the CloudFormation object AWS::Events::Rule. |
464
|
|
|
|
|
|
|
|
465
|
|
|
|
|
|
|
See L<Cfn> for more information on how to use it. |
466
|
|
|
|
|
|
|
|
467
|
|
|
|
|
|
|
=head1 AUTHOR |
468
|
|
|
|
|
|
|
|
469
|
|
|
|
|
|
|
Jose Luis Martinez |
470
|
|
|
|
|
|
|
CAPSiDE |
471
|
|
|
|
|
|
|
jlmartinez@capside.com |
472
|
|
|
|
|
|
|
|
473
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENSE |
474
|
|
|
|
|
|
|
|
475
|
|
|
|
|
|
|
Copyright (c) 2013 by CAPSiDE |
476
|
|
|
|
|
|
|
This code is distributed under the Apache 2 License. The full text of the |
477
|
|
|
|
|
|
|
license can be found in the LICENSE file included with this module. |
478
|
|
|
|
|
|
|
|
479
|
|
|
|
|
|
|
=cut |