line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::ElasticLoadBalancingV2::Listener generated from spec 21.0.0 |
2
|
4
|
|
|
4
|
|
3321
|
use Moose::Util::TypeConstraints; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
54
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener', |
5
|
|
|
|
|
|
|
from 'HashRef', |
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener->new( %$_ ) }; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::ElasticLoadBalancingV2::Listener { |
9
|
4
|
|
|
4
|
|
9011
|
use Moose; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
36
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
1
|
|
|
1
|
0
|
5
|
[ 'ListenerArn' ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
1
|
|
|
1
|
0
|
1162
|
[ '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::ElasticLoadBalancingV2::Listener::TargetGroupTuple', |
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::ElasticLoadBalancingV2::Listener::TargetGroupTuple', |
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::ElasticLoadBalancingV2::Listener::TargetGroupTuple')->coerce($_) |
41
|
|
|
|
|
|
|
} @$_ |
42
|
|
|
|
|
|
|
]); |
43
|
|
|
|
|
|
|
}; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::TargetGroupTuple', |
46
|
|
|
|
|
|
|
as 'Cfn::Value'; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::TargetGroupTuple', |
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::ElasticLoadBalancingV2::Listener::TargetGroupTuple->new( %$_ ); |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::TargetGroupTuple { |
59
|
4
|
|
|
4
|
|
30979
|
use Moose; |
|
4
|
|
|
|
|
17
|
|
|
4
|
|
|
|
|
22
|
|
60
|
4
|
|
|
4
|
|
26126
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
13
|
|
|
4
|
|
|
|
|
41
|
|
61
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
has TargetGroupArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
64
|
|
|
|
|
|
|
has Weight => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
65
|
|
|
|
|
|
|
} |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::TargetGroupStickinessConfig', |
68
|
|
|
|
|
|
|
as 'Cfn::Value'; |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::TargetGroupStickinessConfig', |
71
|
|
|
|
|
|
|
from 'HashRef', |
72
|
|
|
|
|
|
|
via { |
73
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
74
|
|
|
|
|
|
|
return $f |
75
|
|
|
|
|
|
|
} else { |
76
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::TargetGroupStickinessConfig->new( %$_ ); |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
}; |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::TargetGroupStickinessConfig { |
81
|
4
|
|
|
4
|
|
14325
|
use Moose; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
25
|
|
82
|
4
|
|
|
4
|
|
25763
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
21
|
|
83
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
has DurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
86
|
|
|
|
|
|
|
has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
87
|
|
|
|
|
|
|
} |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::RedirectConfig', |
90
|
|
|
|
|
|
|
as 'Cfn::Value'; |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::RedirectConfig', |
93
|
|
|
|
|
|
|
from 'HashRef', |
94
|
|
|
|
|
|
|
via { |
95
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
96
|
|
|
|
|
|
|
return $f |
97
|
|
|
|
|
|
|
} else { |
98
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::RedirectConfig->new( %$_ ); |
99
|
|
|
|
|
|
|
} |
100
|
|
|
|
|
|
|
}; |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::RedirectConfig { |
103
|
4
|
|
|
4
|
|
13108
|
use Moose; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
19
|
|
104
|
4
|
|
|
4
|
|
25592
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
24
|
|
105
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
has Host => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
108
|
|
|
|
|
|
|
has Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
109
|
|
|
|
|
|
|
has Port => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
110
|
|
|
|
|
|
|
has Protocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
111
|
|
|
|
|
|
|
has Query => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
112
|
|
|
|
|
|
|
has StatusCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
113
|
|
|
|
|
|
|
} |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::ForwardConfig', |
116
|
|
|
|
|
|
|
as 'Cfn::Value'; |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::ForwardConfig', |
119
|
|
|
|
|
|
|
from 'HashRef', |
120
|
|
|
|
|
|
|
via { |
121
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
122
|
|
|
|
|
|
|
return $f |
123
|
|
|
|
|
|
|
} else { |
124
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::ForwardConfig->new( %$_ ); |
125
|
|
|
|
|
|
|
} |
126
|
|
|
|
|
|
|
}; |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::ForwardConfig { |
129
|
4
|
|
|
4
|
|
13441
|
use Moose; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
27
|
|
130
|
4
|
|
|
4
|
|
25950
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
17
|
|
|
4
|
|
|
|
|
26
|
|
131
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
has TargetGroups => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::TargetGroupTuple', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
134
|
|
|
|
|
|
|
has TargetGroupStickinessConfig => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::TargetGroupStickinessConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
135
|
|
|
|
|
|
|
} |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::FixedResponseConfig', |
138
|
|
|
|
|
|
|
as 'Cfn::Value'; |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::FixedResponseConfig', |
141
|
|
|
|
|
|
|
from 'HashRef', |
142
|
|
|
|
|
|
|
via { |
143
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
144
|
|
|
|
|
|
|
return $f |
145
|
|
|
|
|
|
|
} else { |
146
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::FixedResponseConfig->new( %$_ ); |
147
|
|
|
|
|
|
|
} |
148
|
|
|
|
|
|
|
}; |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::FixedResponseConfig { |
151
|
4
|
|
|
4
|
|
13103
|
use Moose; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
22
|
|
152
|
4
|
|
|
4
|
|
26161
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
23
|
|
153
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
has ContentType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
156
|
|
|
|
|
|
|
has MessageBody => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
157
|
|
|
|
|
|
|
has StatusCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
158
|
|
|
|
|
|
|
} |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::AuthenticateOidcConfig', |
161
|
|
|
|
|
|
|
as 'Cfn::Value'; |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::AuthenticateOidcConfig', |
164
|
|
|
|
|
|
|
from 'HashRef', |
165
|
|
|
|
|
|
|
via { |
166
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
167
|
|
|
|
|
|
|
return $f |
168
|
|
|
|
|
|
|
} else { |
169
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::AuthenticateOidcConfig->new( %$_ ); |
170
|
|
|
|
|
|
|
} |
171
|
|
|
|
|
|
|
}; |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::AuthenticateOidcConfig { |
174
|
4
|
|
|
4
|
|
13135
|
use Moose; |
|
4
|
|
|
|
|
14
|
|
|
4
|
|
|
|
|
20
|
|
175
|
4
|
|
|
4
|
|
25653
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
18
|
|
|
4
|
|
|
|
|
22
|
|
176
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
has AuthenticationRequestExtraParams => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
179
|
|
|
|
|
|
|
has AuthorizationEndpoint => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
180
|
|
|
|
|
|
|
has ClientId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
181
|
|
|
|
|
|
|
has ClientSecret => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
182
|
|
|
|
|
|
|
has Issuer => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
183
|
|
|
|
|
|
|
has OnUnauthenticatedRequest => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
184
|
|
|
|
|
|
|
has Scope => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
185
|
|
|
|
|
|
|
has SessionCookieName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
186
|
|
|
|
|
|
|
has SessionTimeout => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
187
|
|
|
|
|
|
|
has TokenEndpoint => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
188
|
|
|
|
|
|
|
has UserInfoEndpoint => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
189
|
|
|
|
|
|
|
} |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::AuthenticateCognitoConfig', |
192
|
|
|
|
|
|
|
as 'Cfn::Value'; |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::AuthenticateCognitoConfig', |
195
|
|
|
|
|
|
|
from 'HashRef', |
196
|
|
|
|
|
|
|
via { |
197
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
198
|
|
|
|
|
|
|
return $f |
199
|
|
|
|
|
|
|
} else { |
200
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::AuthenticateCognitoConfig->new( %$_ ); |
201
|
|
|
|
|
|
|
} |
202
|
|
|
|
|
|
|
}; |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::AuthenticateCognitoConfig { |
205
|
4
|
|
|
4
|
|
13774
|
use Moose; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
23
|
|
206
|
4
|
|
|
4
|
|
25618
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
19
|
|
207
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
has AuthenticationRequestExtraParams => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
210
|
|
|
|
|
|
|
has OnUnauthenticatedRequest => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
211
|
|
|
|
|
|
|
has Scope => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
212
|
|
|
|
|
|
|
has SessionCookieName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
213
|
|
|
|
|
|
|
has SessionTimeout => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
214
|
|
|
|
|
|
|
has UserPoolArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
215
|
|
|
|
|
|
|
has UserPoolClientId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
216
|
|
|
|
|
|
|
has UserPoolDomain => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
217
|
|
|
|
|
|
|
} |
218
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Certificate', |
219
|
|
|
|
|
|
|
as 'Cfn::Value', |
220
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
221
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Certificate', |
224
|
|
|
|
|
|
|
from 'HashRef', |
225
|
|
|
|
|
|
|
via { |
226
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
227
|
|
|
|
|
|
|
return $f |
228
|
|
|
|
|
|
|
} else { |
229
|
|
|
|
|
|
|
die 'Only accepts functions'; |
230
|
|
|
|
|
|
|
} |
231
|
|
|
|
|
|
|
}, |
232
|
|
|
|
|
|
|
from 'ArrayRef', |
233
|
|
|
|
|
|
|
via { |
234
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
235
|
|
|
|
|
|
|
map { |
236
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Certificate')->coerce($_) |
237
|
|
|
|
|
|
|
} @$_ |
238
|
|
|
|
|
|
|
]); |
239
|
|
|
|
|
|
|
}; |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Certificate', |
242
|
|
|
|
|
|
|
as 'Cfn::Value'; |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Certificate', |
245
|
|
|
|
|
|
|
from 'HashRef', |
246
|
|
|
|
|
|
|
via { |
247
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
248
|
|
|
|
|
|
|
return $f |
249
|
|
|
|
|
|
|
} else { |
250
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::Certificate->new( %$_ ); |
251
|
|
|
|
|
|
|
} |
252
|
|
|
|
|
|
|
}; |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::Certificate { |
255
|
4
|
|
|
4
|
|
14836
|
use Moose; |
|
4
|
|
|
|
|
13
|
|
|
4
|
|
|
|
|
24
|
|
256
|
4
|
|
|
4
|
|
26559
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
14
|
|
|
4
|
|
|
|
|
24
|
|
257
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
258
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
has CertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
260
|
|
|
|
|
|
|
} |
261
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Action', |
262
|
|
|
|
|
|
|
as 'Cfn::Value', |
263
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
264
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Action', |
267
|
|
|
|
|
|
|
from 'HashRef', |
268
|
|
|
|
|
|
|
via { |
269
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
270
|
|
|
|
|
|
|
return $f |
271
|
|
|
|
|
|
|
} else { |
272
|
|
|
|
|
|
|
die 'Only accepts functions'; |
273
|
|
|
|
|
|
|
} |
274
|
|
|
|
|
|
|
}, |
275
|
|
|
|
|
|
|
from 'ArrayRef', |
276
|
|
|
|
|
|
|
via { |
277
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
278
|
|
|
|
|
|
|
map { |
279
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Action')->coerce($_) |
280
|
|
|
|
|
|
|
} @$_ |
281
|
|
|
|
|
|
|
]); |
282
|
|
|
|
|
|
|
}; |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Action', |
285
|
|
|
|
|
|
|
as 'Cfn::Value'; |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Action', |
288
|
|
|
|
|
|
|
from 'HashRef', |
289
|
|
|
|
|
|
|
via { |
290
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
291
|
|
|
|
|
|
|
return $f |
292
|
|
|
|
|
|
|
} else { |
293
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::Action->new( %$_ ); |
294
|
|
|
|
|
|
|
} |
295
|
|
|
|
|
|
|
}; |
296
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::ElasticLoadBalancingV2::Listener::Action { |
298
|
4
|
|
|
4
|
|
14316
|
use Moose; |
|
4
|
|
|
|
|
33
|
|
|
4
|
|
|
|
|
23
|
|
299
|
4
|
|
|
4
|
|
26845
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
20
|
|
|
4
|
|
|
|
|
31
|
|
300
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
301
|
|
|
|
|
|
|
|
302
|
|
|
|
|
|
|
has AuthenticateCognitoConfig => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::AuthenticateCognitoConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
303
|
|
|
|
|
|
|
has AuthenticateOidcConfig => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::AuthenticateOidcConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
304
|
|
|
|
|
|
|
has FixedResponseConfig => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::FixedResponseConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
305
|
|
|
|
|
|
|
has ForwardConfig => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::ForwardConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
306
|
|
|
|
|
|
|
has Order => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
307
|
|
|
|
|
|
|
has RedirectConfig => (isa => 'Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::RedirectConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
308
|
|
|
|
|
|
|
has TargetGroupArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
309
|
|
|
|
|
|
|
has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
310
|
|
|
|
|
|
|
} |
311
|
|
|
|
|
|
|
|
312
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener { |
313
|
4
|
|
|
4
|
|
13824
|
use Moose; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
25
|
|
314
|
4
|
|
|
4
|
|
26848
|
use MooseX::StrictConstructor; |
|
4
|
|
|
|
|
14
|
|
|
4
|
|
|
|
|
26
|
|
315
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
316
|
|
|
|
|
|
|
|
317
|
|
|
|
|
|
|
has AlpnPolicy => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
318
|
|
|
|
|
|
|
has Certificates => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Certificate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
319
|
|
|
|
|
|
|
has DefaultActions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::ElasticLoadBalancingV2::Listener::Action', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
320
|
|
|
|
|
|
|
has LoadBalancerArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
321
|
|
|
|
|
|
|
has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
322
|
|
|
|
|
|
|
has Protocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
323
|
|
|
|
|
|
|
has SslPolicy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
324
|
|
|
|
|
|
|
} |
325
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
1; |
327
|
|
|
|
|
|
|
### main pod documentation begin ### |
328
|
|
|
|
|
|
|
|
329
|
|
|
|
|
|
|
=encoding UTF-8 |
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
=head1 NAME |
332
|
|
|
|
|
|
|
|
333
|
|
|
|
|
|
|
Cfn::Resource::AWS::ElasticLoadBalancingV2::Listener - Cfn resource for AWS::ElasticLoadBalancingV2::Listener |
334
|
|
|
|
|
|
|
|
335
|
|
|
|
|
|
|
=head1 DESCRIPTION |
336
|
|
|
|
|
|
|
|
337
|
|
|
|
|
|
|
This module implements a Perl module that represents the CloudFormation object AWS::ElasticLoadBalancingV2::Listener. |
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
See L<Cfn> for more information on how to use it. |
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
=head1 AUTHOR |
342
|
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
Jose Luis Martinez |
344
|
|
|
|
|
|
|
CAPSiDE |
345
|
|
|
|
|
|
|
jlmartinez@capside.com |
346
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENSE |
348
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
Copyright (c) 2013 by CAPSiDE |
350
|
|
|
|
|
|
|
This code is distributed under the Apache 2 License. The full text of the |
351
|
|
|
|
|
|
|
license can be found in the LICENSE file included with this module. |
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
=cut |