line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::PinpointEmail::ConfigurationSetEventDestination generated from spec 18.4.0 |
2
|
1
|
|
|
1
|
|
687
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
13
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination', |
5
|
|
|
|
|
|
|
from 'HashRef', |
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination->new( %$_ ) }; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::PinpointEmail::ConfigurationSetEventDestination { |
9
|
1
|
|
|
1
|
|
2218
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
1
|
|
|
1
|
0
|
4
|
[ ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
1
|
|
|
1
|
0
|
1159
|
[ 'ap-south-1','ap-southeast-2','eu-central-1','eu-west-1','us-east-1','us-west-2' ] |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::DimensionConfiguration', |
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::PinpointEmail::ConfigurationSetEventDestination::DimensionConfiguration', |
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::PinpointEmail::ConfigurationSetEventDestination::DimensionConfiguration')->coerce($_) |
41
|
|
|
|
|
|
|
} @$_ |
42
|
|
|
|
|
|
|
]); |
43
|
|
|
|
|
|
|
}; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::DimensionConfiguration', |
46
|
|
|
|
|
|
|
as 'Cfn::Value'; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::DimensionConfiguration', |
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::PinpointEmail::ConfigurationSetEventDestination::DimensionConfiguration->new( %$_ ); |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSetEventDestination::DimensionConfiguration { |
59
|
1
|
|
|
1
|
|
7670
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
60
|
1
|
|
|
1
|
|
6724
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
11
|
|
61
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
has DefaultDimensionValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
64
|
|
|
|
|
|
|
has DimensionName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
65
|
|
|
|
|
|
|
has DimensionValueSource => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::SnsDestination', |
69
|
|
|
|
|
|
|
as 'Cfn::Value'; |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::SnsDestination', |
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::PinpointEmail::ConfigurationSetEventDestination::SnsDestination->new( %$_ ); |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
}; |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSetEventDestination::SnsDestination { |
82
|
1
|
|
|
1
|
|
3696
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
83
|
1
|
|
|
1
|
|
6662
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
4
|
|
84
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
has TopicArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
87
|
|
|
|
|
|
|
} |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::PinpointDestination', |
90
|
|
|
|
|
|
|
as 'Cfn::Value'; |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::PinpointDestination', |
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::PinpointEmail::ConfigurationSetEventDestination::PinpointDestination->new( %$_ ); |
99
|
|
|
|
|
|
|
} |
100
|
|
|
|
|
|
|
}; |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSetEventDestination::PinpointDestination { |
103
|
1
|
|
|
1
|
|
3448
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
104
|
1
|
|
|
1
|
|
6788
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
105
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
has ApplicationArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
108
|
|
|
|
|
|
|
} |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::KinesisFirehoseDestination', |
111
|
|
|
|
|
|
|
as 'Cfn::Value'; |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::KinesisFirehoseDestination', |
114
|
|
|
|
|
|
|
from 'HashRef', |
115
|
|
|
|
|
|
|
via { |
116
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
117
|
|
|
|
|
|
|
return $f |
118
|
|
|
|
|
|
|
} else { |
119
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSetEventDestination::KinesisFirehoseDestination->new( %$_ ); |
120
|
|
|
|
|
|
|
} |
121
|
|
|
|
|
|
|
}; |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSetEventDestination::KinesisFirehoseDestination { |
124
|
1
|
|
|
1
|
|
3444
|
use Moose; |
|
1
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
16
|
|
125
|
1
|
|
|
1
|
|
6742
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
126
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
has DeliveryStreamArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
129
|
|
|
|
|
|
|
has IamRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
130
|
|
|
|
|
|
|
} |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::CloudWatchDestination', |
133
|
|
|
|
|
|
|
as 'Cfn::Value'; |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::CloudWatchDestination', |
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::PinpointEmail::ConfigurationSetEventDestination::CloudWatchDestination->new( %$_ ); |
142
|
|
|
|
|
|
|
} |
143
|
|
|
|
|
|
|
}; |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSetEventDestination::CloudWatchDestination { |
146
|
1
|
|
|
1
|
|
3720
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
16
|
|
147
|
1
|
|
|
1
|
|
6724
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
4
|
|
148
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
has DimensionConfigurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::DimensionConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::EventDestination', |
154
|
|
|
|
|
|
|
as 'Cfn::Value'; |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::EventDestination', |
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::PinpointEmail::ConfigurationSetEventDestination::EventDestination->new( %$_ ); |
163
|
|
|
|
|
|
|
} |
164
|
|
|
|
|
|
|
}; |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::PinpointEmail::ConfigurationSetEventDestination::EventDestination { |
167
|
1
|
|
|
1
|
|
3379
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
6
|
|
168
|
1
|
|
|
1
|
|
6743
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
4
|
|
169
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
has CloudWatchDestination => (isa => 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::CloudWatchDestination', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
172
|
|
|
|
|
|
|
has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
173
|
|
|
|
|
|
|
has KinesisFirehoseDestination => (isa => 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::KinesisFirehoseDestination', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
174
|
|
|
|
|
|
|
has MatchingEventTypes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
175
|
|
|
|
|
|
|
has PinpointDestination => (isa => 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::PinpointDestination', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
176
|
|
|
|
|
|
|
has SnsDestination => (isa => 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::SnsDestination', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
177
|
|
|
|
|
|
|
} |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination { |
180
|
1
|
|
|
1
|
|
3521
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
181
|
1
|
|
|
1
|
|
6660
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
182
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
has ConfigurationSetName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
185
|
|
|
|
|
|
|
has EventDestination => (isa => 'Cfn::Resource::Properties::AWS::PinpointEmail::ConfigurationSetEventDestination::EventDestination', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
186
|
|
|
|
|
|
|
has EventDestinationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
187
|
|
|
|
|
|
|
} |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
1; |
190
|
|
|
|
|
|
|
### main pod documentation begin ### |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=encoding UTF-8 |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=head1 NAME |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
Cfn::Resource::AWS::PinpointEmail::ConfigurationSetEventDestination - Cfn resource for AWS::PinpointEmail::ConfigurationSetEventDestination |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=head1 DESCRIPTION |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
This module implements a Perl module that represents the CloudFormation object AWS::PinpointEmail::ConfigurationSetEventDestination. |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
See L<Cfn> for more information on how to use it. |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=head1 AUTHOR |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
Jose Luis Martinez |
207
|
|
|
|
|
|
|
CAPSiDE |
208
|
|
|
|
|
|
|
jlmartinez@capside.com |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENSE |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
Copyright (c) 2013 by CAPSiDE |
213
|
|
|
|
|
|
|
This code is distributed under the Apache 2 License. The full text of the |
214
|
|
|
|
|
|
|
license can be found in the LICENSE file included with this module. |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
=cut |