line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::ElasticLoadBalancing::LoadBalancer generated from spec 18.4.0 |
2
|
5
|
|
|
5
|
|
4191
|
use Moose::Util::TypeConstraints; |
|
5
|
|
|
|
|
18
|
|
|
5
|
|
|
|
|
62
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer', |
5
|
|
|
|
|
|
|
from 'HashRef', |
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer->new( %$_ ) }; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::ElasticLoadBalancing::LoadBalancer { |
9
|
5
|
|
|
5
|
|
11187
|
use Moose; |
|
5
|
|
|
|
|
15
|
|
|
5
|
|
|
|
|
40
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
1
|
|
|
1
|
0
|
8
|
[ 'CanonicalHostedZoneName','CanonicalHostedZoneNameID','DNSName','SourceSecurityGroup.GroupName','SourceSecurityGroup.OwnerAlias' ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
1
|
|
|
1
|
0
|
1270
|
[ '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
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Policies', |
23
|
|
|
|
|
|
|
as 'Cfn::Value', |
24
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
25
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Policies', |
28
|
|
|
|
|
|
|
from 'HashRef', |
29
|
|
|
|
|
|
|
via { |
30
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
31
|
|
|
|
|
|
|
return $f |
32
|
|
|
|
|
|
|
} else { |
33
|
|
|
|
|
|
|
die 'Only accepts functions'; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
}, |
36
|
|
|
|
|
|
|
from 'ArrayRef', |
37
|
|
|
|
|
|
|
via { |
38
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
39
|
|
|
|
|
|
|
map { |
40
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Policies')->coerce($_) |
41
|
|
|
|
|
|
|
} @$_ |
42
|
|
|
|
|
|
|
]); |
43
|
|
|
|
|
|
|
}; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Policies', |
46
|
|
|
|
|
|
|
as 'Cfn::Value'; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Policies', |
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::ElasticLoadBalancing::LoadBalancer::Policies->new( %$_ ); |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::Policies { |
59
|
5
|
|
|
5
|
|
38660
|
use Moose; |
|
5
|
|
|
|
|
14
|
|
|
5
|
|
|
|
|
27
|
|
60
|
5
|
|
|
5
|
|
32027
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
24
|
|
|
5
|
|
|
|
|
53
|
|
61
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
has Attributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
64
|
|
|
|
|
|
|
has InstancePorts => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
65
|
|
|
|
|
|
|
has LoadBalancerPorts => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
66
|
|
|
|
|
|
|
has PolicyName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
67
|
|
|
|
|
|
|
has PolicyType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
68
|
|
|
|
|
|
|
} |
69
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Listeners', |
70
|
|
|
|
|
|
|
as 'Cfn::Value', |
71
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
72
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Listeners', |
75
|
|
|
|
|
|
|
from 'HashRef', |
76
|
|
|
|
|
|
|
via { |
77
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
78
|
|
|
|
|
|
|
return $f |
79
|
|
|
|
|
|
|
} else { |
80
|
|
|
|
|
|
|
die 'Only accepts functions'; |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
}, |
83
|
|
|
|
|
|
|
from 'ArrayRef', |
84
|
|
|
|
|
|
|
via { |
85
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
86
|
|
|
|
|
|
|
map { |
87
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Listeners')->coerce($_) |
88
|
|
|
|
|
|
|
} @$_ |
89
|
|
|
|
|
|
|
]); |
90
|
|
|
|
|
|
|
}; |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Listeners', |
93
|
|
|
|
|
|
|
as 'Cfn::Value'; |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Listeners', |
96
|
|
|
|
|
|
|
from 'HashRef', |
97
|
|
|
|
|
|
|
via { |
98
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
99
|
|
|
|
|
|
|
return $f |
100
|
|
|
|
|
|
|
} else { |
101
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::Listeners->new( %$_ ); |
102
|
|
|
|
|
|
|
} |
103
|
|
|
|
|
|
|
}; |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::Listeners { |
106
|
5
|
|
|
5
|
|
19042
|
use Moose; |
|
5
|
|
|
|
|
27
|
|
|
5
|
|
|
|
|
37
|
|
107
|
5
|
|
|
5
|
|
32018
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
16
|
|
|
5
|
|
|
|
|
26
|
|
108
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
has InstancePort => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
111
|
|
|
|
|
|
|
has InstanceProtocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
112
|
|
|
|
|
|
|
has LoadBalancerPort => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
113
|
|
|
|
|
|
|
has PolicyNames => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
114
|
|
|
|
|
|
|
has Protocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
115
|
|
|
|
|
|
|
has SSLCertificateId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
116
|
|
|
|
|
|
|
} |
117
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::LBCookieStickinessPolicy', |
118
|
|
|
|
|
|
|
as 'Cfn::Value', |
119
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
120
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::LBCookieStickinessPolicy', |
123
|
|
|
|
|
|
|
from 'HashRef', |
124
|
|
|
|
|
|
|
via { |
125
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
126
|
|
|
|
|
|
|
return $f |
127
|
|
|
|
|
|
|
} else { |
128
|
|
|
|
|
|
|
die 'Only accepts functions'; |
129
|
|
|
|
|
|
|
} |
130
|
|
|
|
|
|
|
}, |
131
|
|
|
|
|
|
|
from 'ArrayRef', |
132
|
|
|
|
|
|
|
via { |
133
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
134
|
|
|
|
|
|
|
map { |
135
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::LBCookieStickinessPolicy')->coerce($_) |
136
|
|
|
|
|
|
|
} @$_ |
137
|
|
|
|
|
|
|
]); |
138
|
|
|
|
|
|
|
}; |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::LBCookieStickinessPolicy', |
141
|
|
|
|
|
|
|
as 'Cfn::Value'; |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::LBCookieStickinessPolicy', |
144
|
|
|
|
|
|
|
from 'HashRef', |
145
|
|
|
|
|
|
|
via { |
146
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
147
|
|
|
|
|
|
|
return $f |
148
|
|
|
|
|
|
|
} else { |
149
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::LBCookieStickinessPolicy->new( %$_ ); |
150
|
|
|
|
|
|
|
} |
151
|
|
|
|
|
|
|
}; |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::LBCookieStickinessPolicy { |
154
|
5
|
|
|
5
|
|
17791
|
use Moose; |
|
5
|
|
|
|
|
34
|
|
|
5
|
|
|
|
|
33
|
|
155
|
5
|
|
|
5
|
|
32125
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
15
|
|
|
5
|
|
|
|
|
24
|
|
156
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
has CookieExpirationPeriod => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
159
|
|
|
|
|
|
|
has PolicyName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
160
|
|
|
|
|
|
|
} |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::HealthCheck', |
163
|
|
|
|
|
|
|
as 'Cfn::Value'; |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::HealthCheck', |
166
|
|
|
|
|
|
|
from 'HashRef', |
167
|
|
|
|
|
|
|
via { |
168
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
169
|
|
|
|
|
|
|
return $f |
170
|
|
|
|
|
|
|
} else { |
171
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::HealthCheck->new( %$_ ); |
172
|
|
|
|
|
|
|
} |
173
|
|
|
|
|
|
|
}; |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::HealthCheck { |
176
|
5
|
|
|
5
|
|
16449
|
use Moose; |
|
5
|
|
|
|
|
14
|
|
|
5
|
|
|
|
|
35
|
|
177
|
5
|
|
|
5
|
|
32748
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
17
|
|
|
5
|
|
|
|
|
29
|
|
178
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
has HealthyThreshold => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
181
|
|
|
|
|
|
|
has Interval => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
182
|
|
|
|
|
|
|
has Target => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
183
|
|
|
|
|
|
|
has Timeout => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
184
|
|
|
|
|
|
|
has UnhealthyThreshold => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
185
|
|
|
|
|
|
|
} |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::ConnectionSettings', |
188
|
|
|
|
|
|
|
as 'Cfn::Value'; |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::ConnectionSettings', |
191
|
|
|
|
|
|
|
from 'HashRef', |
192
|
|
|
|
|
|
|
via { |
193
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
194
|
|
|
|
|
|
|
return $f |
195
|
|
|
|
|
|
|
} else { |
196
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::ConnectionSettings->new( %$_ ); |
197
|
|
|
|
|
|
|
} |
198
|
|
|
|
|
|
|
}; |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::ConnectionSettings { |
201
|
5
|
|
|
5
|
|
16945
|
use Moose; |
|
5
|
|
|
|
|
22
|
|
|
5
|
|
|
|
|
39
|
|
202
|
5
|
|
|
5
|
|
32073
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
13
|
|
|
5
|
|
|
|
|
28
|
|
203
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
has IdleTimeout => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
206
|
|
|
|
|
|
|
} |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::ConnectionDrainingPolicy', |
209
|
|
|
|
|
|
|
as 'Cfn::Value'; |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::ConnectionDrainingPolicy', |
212
|
|
|
|
|
|
|
from 'HashRef', |
213
|
|
|
|
|
|
|
via { |
214
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
215
|
|
|
|
|
|
|
return $f |
216
|
|
|
|
|
|
|
} else { |
217
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::ConnectionDrainingPolicy->new( %$_ ); |
218
|
|
|
|
|
|
|
} |
219
|
|
|
|
|
|
|
}; |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::ConnectionDrainingPolicy { |
222
|
5
|
|
|
5
|
|
17180
|
use Moose; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
31
|
|
223
|
5
|
|
|
5
|
|
32170
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
15
|
|
|
5
|
|
|
|
|
39
|
|
224
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
227
|
|
|
|
|
|
|
has Timeout => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
228
|
|
|
|
|
|
|
} |
229
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::AppCookieStickinessPolicy', |
230
|
|
|
|
|
|
|
as 'Cfn::Value', |
231
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
232
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::AppCookieStickinessPolicy', |
235
|
|
|
|
|
|
|
from 'HashRef', |
236
|
|
|
|
|
|
|
via { |
237
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
238
|
|
|
|
|
|
|
return $f |
239
|
|
|
|
|
|
|
} else { |
240
|
|
|
|
|
|
|
die 'Only accepts functions'; |
241
|
|
|
|
|
|
|
} |
242
|
|
|
|
|
|
|
}, |
243
|
|
|
|
|
|
|
from 'ArrayRef', |
244
|
|
|
|
|
|
|
via { |
245
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
246
|
|
|
|
|
|
|
map { |
247
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::AppCookieStickinessPolicy')->coerce($_) |
248
|
|
|
|
|
|
|
} @$_ |
249
|
|
|
|
|
|
|
]); |
250
|
|
|
|
|
|
|
}; |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::AppCookieStickinessPolicy', |
253
|
|
|
|
|
|
|
as 'Cfn::Value'; |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::AppCookieStickinessPolicy', |
256
|
|
|
|
|
|
|
from 'HashRef', |
257
|
|
|
|
|
|
|
via { |
258
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
259
|
|
|
|
|
|
|
return $f |
260
|
|
|
|
|
|
|
} else { |
261
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::AppCookieStickinessPolicy->new( %$_ ); |
262
|
|
|
|
|
|
|
} |
263
|
|
|
|
|
|
|
}; |
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::AppCookieStickinessPolicy { |
266
|
5
|
|
|
5
|
|
17518
|
use Moose; |
|
5
|
|
|
|
|
23
|
|
|
5
|
|
|
|
|
39
|
|
267
|
5
|
|
|
5
|
|
31978
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
29
|
|
|
5
|
|
|
|
|
27
|
|
268
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
has CookieName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
271
|
|
|
|
|
|
|
has PolicyName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
272
|
|
|
|
|
|
|
} |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::AccessLoggingPolicy', |
275
|
|
|
|
|
|
|
as 'Cfn::Value'; |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::AccessLoggingPolicy', |
278
|
|
|
|
|
|
|
from 'HashRef', |
279
|
|
|
|
|
|
|
via { |
280
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
281
|
|
|
|
|
|
|
return $f |
282
|
|
|
|
|
|
|
} else { |
283
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::AccessLoggingPolicy->new( %$_ ); |
284
|
|
|
|
|
|
|
} |
285
|
|
|
|
|
|
|
}; |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancing::LoadBalancer::AccessLoggingPolicy { |
288
|
5
|
|
|
5
|
|
16753
|
use Moose; |
|
5
|
|
|
|
|
28
|
|
|
5
|
|
|
|
|
28
|
|
289
|
5
|
|
|
5
|
|
31771
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
15
|
|
|
5
|
|
|
|
|
26
|
|
290
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
has EmitInterval => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
293
|
|
|
|
|
|
|
has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
294
|
|
|
|
|
|
|
has S3BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
295
|
|
|
|
|
|
|
has S3BucketPrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
296
|
|
|
|
|
|
|
} |
297
|
|
|
|
|
|
|
|
298
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer { |
299
|
5
|
|
|
5
|
|
15946
|
use Moose; |
|
5
|
|
|
|
|
18
|
|
|
5
|
|
|
|
|
26
|
|
300
|
5
|
|
|
5
|
|
32292
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
18
|
|
|
5
|
|
|
|
|
28
|
|
301
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
302
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
has AccessLoggingPolicy => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::AccessLoggingPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
304
|
|
|
|
|
|
|
has AppCookieStickinessPolicy => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::AppCookieStickinessPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
305
|
|
|
|
|
|
|
has AvailabilityZones => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional'); |
306
|
|
|
|
|
|
|
has ConnectionDrainingPolicy => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::ConnectionDrainingPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
307
|
|
|
|
|
|
|
has ConnectionSettings => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::ConnectionSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
308
|
|
|
|
|
|
|
has CrossZone => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
309
|
|
|
|
|
|
|
has HealthCheck => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::HealthCheck', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional'); |
310
|
|
|
|
|
|
|
has Instances => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
311
|
|
|
|
|
|
|
has LBCookieStickinessPolicy => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::LBCookieStickinessPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
312
|
|
|
|
|
|
|
has Listeners => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Listeners', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
313
|
|
|
|
|
|
|
has LoadBalancerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
314
|
|
|
|
|
|
|
has Policies => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancing::LoadBalancer::Policies', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
315
|
|
|
|
|
|
|
has Scheme => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
316
|
|
|
|
|
|
|
has SecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
317
|
|
|
|
|
|
|
has Subnets => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional'); |
318
|
|
|
|
|
|
|
has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
319
|
|
|
|
|
|
|
} |
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
1; |
322
|
|
|
|
|
|
|
### main pod documentation begin ### |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
=encoding UTF-8 |
325
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
=head1 NAME |
327
|
|
|
|
|
|
|
|
328
|
|
|
|
|
|
|
Cfn::Resource::AWS::ElasticLoadBalancing::LoadBalancer - Cfn resource for AWS::ElasticLoadBalancing::LoadBalancer |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
=head1 DESCRIPTION |
331
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
This module implements a Perl module that represents the CloudFormation object AWS::ElasticLoadBalancing::LoadBalancer. |
333
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
See L<Cfn> for more information on how to use it. |
335
|
|
|
|
|
|
|
|
336
|
|
|
|
|
|
|
=head1 AUTHOR |
337
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
Jose Luis Martinez |
339
|
|
|
|
|
|
|
CAPSiDE |
340
|
|
|
|
|
|
|
jlmartinez@capside.com |
341
|
|
|
|
|
|
|
|
342
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENSE |
343
|
|
|
|
|
|
|
|
344
|
|
|
|
|
|
|
Copyright (c) 2013 by CAPSiDE |
345
|
|
|
|
|
|
|
This code is distributed under the Apache 2 License. The full text of the |
346
|
|
|
|
|
|
|
license can be found in the LICENSE file included with this module. |
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
=cut |