line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::StepFunctions::StateMachine generated from spec 10.0.0 |
2
|
2
|
|
|
2
|
|
1318
|
use Moose::Util::TypeConstraints; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
19
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine', |
5
|
|
|
|
|
|
|
from 'HashRef', |
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::StepFunctions::StateMachine->new( %$_ ) }; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::StepFunctions::StateMachine { |
9
|
2
|
|
|
2
|
|
4197
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
15
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
1
|
|
|
1
|
0
|
4
|
[ 'Name' ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
1
|
|
|
1
|
0
|
1111
|
[ 'ap-northeast-1','eu-central-1','eu-west-1','us-east-1','us-east-2','us-west-2' ] |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::CloudWatchLogsLogGroup', |
24
|
|
|
|
|
|
|
as 'Cfn::Value'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::CloudWatchLogsLogGroup', |
27
|
|
|
|
|
|
|
from 'HashRef', |
28
|
|
|
|
|
|
|
via { |
29
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
30
|
|
|
|
|
|
|
return $f |
31
|
|
|
|
|
|
|
} else { |
32
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::CloudWatchLogsLogGroupValue->new( %$_ ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
}; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::CloudWatchLogsLogGroupValue { |
37
|
2
|
|
|
2
|
|
14345
|
use Moose; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
12
|
|
38
|
2
|
|
|
2
|
|
13199
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
21
|
|
39
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
has LogGroupArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::StepFunctions::StateMachine::LogDestination', |
44
|
|
|
|
|
|
|
as 'Cfn::Value', |
45
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
46
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::StepFunctions::StateMachine::LogDestination', |
49
|
|
|
|
|
|
|
from 'HashRef', |
50
|
|
|
|
|
|
|
via { |
51
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
52
|
|
|
|
|
|
|
return $f |
53
|
|
|
|
|
|
|
} else { |
54
|
|
|
|
|
|
|
die 'Only accepts functions'; |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
}, |
57
|
|
|
|
|
|
|
from 'ArrayRef', |
58
|
|
|
|
|
|
|
via { |
59
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
60
|
|
|
|
|
|
|
map { |
61
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::LogDestination')->coerce($_) |
62
|
|
|
|
|
|
|
} @$_ |
63
|
|
|
|
|
|
|
]); |
64
|
|
|
|
|
|
|
}; |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::LogDestination', |
67
|
|
|
|
|
|
|
as 'Cfn::Value'; |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::LogDestination', |
70
|
|
|
|
|
|
|
from 'HashRef', |
71
|
|
|
|
|
|
|
via { |
72
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
73
|
|
|
|
|
|
|
return $f |
74
|
|
|
|
|
|
|
} else { |
75
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::LogDestinationValue->new( %$_ ); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
}; |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::LogDestinationValue { |
80
|
2
|
|
|
2
|
|
7509
|
use Moose; |
|
2
|
|
|
|
|
11
|
|
|
2
|
|
|
|
|
9
|
|
81
|
2
|
|
|
2
|
|
13484
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
10
|
|
|
2
|
|
|
|
|
12
|
|
82
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
has CloudWatchLogsLogGroup => (isa => 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::CloudWatchLogsLogGroup', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
85
|
|
|
|
|
|
|
} |
86
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::StepFunctions::StateMachine::TagsEntry', |
87
|
|
|
|
|
|
|
as 'Cfn::Value', |
88
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
89
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::StepFunctions::StateMachine::TagsEntry', |
92
|
|
|
|
|
|
|
from 'HashRef', |
93
|
|
|
|
|
|
|
via { |
94
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
95
|
|
|
|
|
|
|
return $f |
96
|
|
|
|
|
|
|
} else { |
97
|
|
|
|
|
|
|
die 'Only accepts functions'; |
98
|
|
|
|
|
|
|
} |
99
|
|
|
|
|
|
|
}, |
100
|
|
|
|
|
|
|
from 'ArrayRef', |
101
|
|
|
|
|
|
|
via { |
102
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
103
|
|
|
|
|
|
|
map { |
104
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::TagsEntry')->coerce($_) |
105
|
|
|
|
|
|
|
} @$_ |
106
|
|
|
|
|
|
|
]); |
107
|
|
|
|
|
|
|
}; |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::TagsEntry', |
110
|
|
|
|
|
|
|
as 'Cfn::Value'; |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::TagsEntry', |
113
|
|
|
|
|
|
|
from 'HashRef', |
114
|
|
|
|
|
|
|
via { |
115
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
116
|
|
|
|
|
|
|
return $f |
117
|
|
|
|
|
|
|
} else { |
118
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::TagsEntryValue->new( %$_ ); |
119
|
|
|
|
|
|
|
} |
120
|
|
|
|
|
|
|
}; |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::TagsEntryValue { |
123
|
2
|
|
|
2
|
|
7036
|
use Moose; |
|
2
|
|
|
|
|
10
|
|
|
2
|
|
|
|
|
12
|
|
124
|
2
|
|
|
2
|
|
13157
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
11
|
|
125
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
128
|
|
|
|
|
|
|
has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
129
|
|
|
|
|
|
|
} |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::LoggingConfiguration', |
132
|
|
|
|
|
|
|
as 'Cfn::Value'; |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::LoggingConfiguration', |
135
|
|
|
|
|
|
|
from 'HashRef', |
136
|
|
|
|
|
|
|
via { |
137
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
138
|
|
|
|
|
|
|
return $f |
139
|
|
|
|
|
|
|
} else { |
140
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::LoggingConfigurationValue->new( %$_ ); |
141
|
|
|
|
|
|
|
} |
142
|
|
|
|
|
|
|
}; |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::LoggingConfigurationValue { |
145
|
2
|
|
|
2
|
|
6712
|
use Moose; |
|
2
|
|
|
|
|
10
|
|
|
2
|
|
|
|
|
24
|
|
146
|
2
|
|
|
2
|
|
13140
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
12
|
|
147
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
has Destinations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::StepFunctions::StateMachine::LogDestination', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
150
|
|
|
|
|
|
|
has IncludeExecutionData => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
151
|
|
|
|
|
|
|
has Level => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
152
|
|
|
|
|
|
|
} |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::StepFunctions::StateMachine { |
155
|
2
|
|
|
2
|
|
6702
|
use Moose; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
12
|
|
156
|
2
|
|
|
2
|
|
13168
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
12
|
|
157
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
has DefinitionString => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
160
|
|
|
|
|
|
|
has LoggingConfiguration => (isa => 'Cfn::Resource::Properties::AWS::StepFunctions::StateMachine::LoggingConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
161
|
|
|
|
|
|
|
has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
162
|
|
|
|
|
|
|
has StateMachineName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
163
|
|
|
|
|
|
|
has StateMachineType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
164
|
|
|
|
|
|
|
has Tags => (isa => 'ArrayOfCfn::Resource::Properties::AWS::StepFunctions::StateMachine::TagsEntry', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
165
|
|
|
|
|
|
|
} |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
1; |