| 1 | # AWS::DataPipeline::Pipeline generated from spec 18.4.0 | ||||||||||
| 2 | 2 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 2 | ▶ | via { Cfn::Resource::Properties::AWS::DataPipeline::Pipeline->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 2 | package Cfn::Resource::AWS::DataPipeline::Pipeline { | |||||||||
| 9 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 2 | extends 'Cfn::Resource'; | |||||||||
| 11 | 2 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ ] | ||||||||
|
Subroutine
AttributeList: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | } | ||||||||||
| 16 | sub supported_regions { | ||||||||||
| 17 | 1 | ▶ | [ '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' ] | ||||||||
|
Subroutine
supported_regions: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 18 | } | ||||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | subtype 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterAttribute', | ||||||||||
| 23 | as 'Cfn::Value', | ||||||||||
| 24 | 6 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
| |||||||||||
| 25 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 26 | |||||||||||
| 27 | coerce 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterAttribute', | ||||||||||
| 28 | from 'HashRef', | ||||||||||
| 29 | via { | ||||||||||
| 30 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 31 | 0 | return $f | |||||||||
| 32 | } else { | ||||||||||
| 33 | 0 | die 'Only accepts functions'; | |||||||||
| 34 | } | ||||||||||
| 35 | }, | ||||||||||
| 36 | from 'ArrayRef', | ||||||||||
| 37 | via { | ||||||||||
| 38 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 39 | map { | ||||||||||
| 40 | 6 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterAttribute')->coerce($_) | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 41 | } @$_ | ||||||||||
| 42 | ]); | ||||||||||
| 43 | 2 | }; | |||||||||
| 44 | |||||||||||
| 45 | 2 | subtype 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterAttribute', | |||||||||
| 46 | as 'Cfn::Value'; | ||||||||||
| 47 | |||||||||||
| 48 | coerce 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterAttribute', | ||||||||||
| 49 | from 'HashRef', | ||||||||||
| 50 | via { | ||||||||||
| 51 | 16 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
| |||||||||||
| 52 | 0 | return $f | |||||||||
| 53 | } else { | ||||||||||
| 54 | 16 | return Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::ParameterAttribute->new( %$_ ); | |||||||||
| 55 | } | ||||||||||
| 56 | 2 | }; | |||||||||
| 57 | |||||||||||
| 58 | 2 | package Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::ParameterAttribute { | |||||||||
| 59 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 60 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 61 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 62 | |||||||||||
| 63 | 2 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 64 | 2 | has StringValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 65 | } | ||||||||||
| 66 | subtype 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::Field', | ||||||||||
| 67 | as 'Cfn::Value', | ||||||||||
| 68 | 14 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
| |||||||||||
| 69 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 70 | |||||||||||
| 71 | coerce 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::Field', | ||||||||||
| 72 | from 'HashRef', | ||||||||||
| 73 | via { | ||||||||||
| 74 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 75 | 0 | return $f | |||||||||
| 76 | } else { | ||||||||||
| 77 | 0 | die 'Only accepts functions'; | |||||||||
| 78 | } | ||||||||||
| 79 | }, | ||||||||||
| 80 | from 'ArrayRef', | ||||||||||
| 81 | via { | ||||||||||
| 82 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 83 | map { | ||||||||||
| 84 | 14 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::Field')->coerce($_) | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 85 | } @$_ | ||||||||||
| 86 | ]); | ||||||||||
| 87 | 2 | }; | |||||||||
| 88 | |||||||||||
| 89 | 2 | subtype 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::Field', | |||||||||
| 90 | as 'Cfn::Value'; | ||||||||||
| 91 | |||||||||||
| 92 | coerce 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::Field', | ||||||||||
| 93 | from 'HashRef', | ||||||||||
| 94 | via { | ||||||||||
| 95 | 58 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
| |||||||||||
| 96 | 0 | return $f | |||||||||
| 97 | } else { | ||||||||||
| 98 | 58 | return Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::Field->new( %$_ ); | |||||||||
| 99 | } | ||||||||||
| 100 | 2 | }; | |||||||||
| 101 | |||||||||||
| 102 | 2 | package Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::Field { | |||||||||
| 103 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 104 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 105 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 106 | |||||||||||
| 107 | 2 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 108 | 2 | has RefValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 109 | 2 | has StringValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 110 | } | ||||||||||
| 111 | subtype 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineTag', | ||||||||||
| 112 | as 'Cfn::Value', | ||||||||||
| 113 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 114 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 115 | |||||||||||
| 116 | coerce 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineTag', | ||||||||||
| 117 | from 'HashRef', | ||||||||||
| 118 | via { | ||||||||||
| 119 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 120 | 0 | return $f | |||||||||
| 121 | } else { | ||||||||||
| 122 | 0 | die 'Only accepts functions'; | |||||||||
| 123 | } | ||||||||||
| 124 | }, | ||||||||||
| 125 | from 'ArrayRef', | ||||||||||
| 126 | via { | ||||||||||
| 127 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 128 | map { | ||||||||||
| 129 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineTag')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 130 | } @$_ | ||||||||||
| 131 | ]); | ||||||||||
| 132 | 2 | }; | |||||||||
| 133 | |||||||||||
| 134 | 2 | subtype 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineTag', | |||||||||
| 135 | as 'Cfn::Value'; | ||||||||||
| 136 | |||||||||||
| 137 | coerce 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineTag', | ||||||||||
| 138 | from 'HashRef', | ||||||||||
| 139 | via { | ||||||||||
| 140 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 141 | 0 | return $f | |||||||||
| 142 | } else { | ||||||||||
| 143 | 0 | return Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::PipelineTag->new( %$_ ); | |||||||||
| 144 | } | ||||||||||
| 145 | 2 | }; | |||||||||
| 146 | |||||||||||
| 147 | 2 | package Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::PipelineTag { | |||||||||
| 148 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 149 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 150 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 151 | |||||||||||
| 152 | 2 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 153 | 2 | has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 154 | } | ||||||||||
| 155 | subtype 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineObject', | ||||||||||
| 156 | as 'Cfn::Value', | ||||||||||
| 157 | 2 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
| |||||||||||
| 158 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 159 | |||||||||||
| 160 | coerce 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineObject', | ||||||||||
| 161 | from 'HashRef', | ||||||||||
| 162 | via { | ||||||||||
| 163 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 164 | 0 | return $f | |||||||||
| 165 | } else { | ||||||||||
| 166 | 0 | die 'Only accepts functions'; | |||||||||
| 167 | } | ||||||||||
| 168 | }, | ||||||||||
| 169 | from 'ArrayRef', | ||||||||||
| 170 | via { | ||||||||||
| 171 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 172 | map { | ||||||||||
| 173 | 2 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineObject')->coerce($_) | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 174 | } @$_ | ||||||||||
| 175 | ]); | ||||||||||
| 176 | 2 | }; | |||||||||
| 177 | |||||||||||
| 178 | 2 | subtype 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineObject', | |||||||||
| 179 | as 'Cfn::Value'; | ||||||||||
| 180 | |||||||||||
| 181 | coerce 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineObject', | ||||||||||
| 182 | from 'HashRef', | ||||||||||
| 183 | via { | ||||||||||
| 184 | 14 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
| |||||||||||
| 185 | 0 | return $f | |||||||||
| 186 | } else { | ||||||||||
| 187 | 14 | return Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::PipelineObject->new( %$_ ); | |||||||||
| 188 | } | ||||||||||
| 189 | 2 | }; | |||||||||
| 190 | |||||||||||
| 191 | 2 | package Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::PipelineObject { | |||||||||
| 192 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 193 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 194 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 195 | |||||||||||
| 196 | 2 | has Fields => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::Field', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 197 | 2 | has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 198 | 2 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 199 | } | ||||||||||
| 200 | subtype 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterValue', | ||||||||||
| 201 | as 'Cfn::Value', | ||||||||||
| 202 | 2 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
| |||||||||||
| 203 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 204 | |||||||||||
| 205 | coerce 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterValue', | ||||||||||
| 206 | from 'HashRef', | ||||||||||
| 207 | via { | ||||||||||
| 208 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 209 | 0 | return $f | |||||||||
| 210 | } else { | ||||||||||
| 211 | 0 | die 'Only accepts functions'; | |||||||||
| 212 | } | ||||||||||
| 213 | }, | ||||||||||
| 214 | from 'ArrayRef', | ||||||||||
| 215 | via { | ||||||||||
| 216 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 217 | map { | ||||||||||
| 218 | 2 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterValue')->coerce($_) | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 219 | } @$_ | ||||||||||
| 220 | ]); | ||||||||||
| 221 | 2 | }; | |||||||||
| 222 | |||||||||||
| 223 | 2 | subtype 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterValue', | |||||||||
| 224 | as 'Cfn::Value'; | ||||||||||
| 225 | |||||||||||
| 226 | coerce 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterValue', | ||||||||||
| 227 | from 'HashRef', | ||||||||||
| 228 | via { | ||||||||||
| 229 | 2 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
| |||||||||||
| 230 | 0 | return $f | |||||||||
| 231 | } else { | ||||||||||
| 232 | 2 | return Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::ParameterValue->new( %$_ ); | |||||||||
| 233 | } | ||||||||||
| 234 | 2 | }; | |||||||||
| 235 | |||||||||||
| 236 | 2 | package Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::ParameterValue { | |||||||||
| 237 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 238 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 239 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 240 | |||||||||||
| 241 | 2 | has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 242 | 2 | has StringValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 243 | } | ||||||||||
| 244 | subtype 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterObject', | ||||||||||
| 245 | as 'Cfn::Value', | ||||||||||
| 246 | 2 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
| |||||||||||
| 247 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 248 | |||||||||||
| 249 | coerce 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterObject', | ||||||||||
| 250 | from 'HashRef', | ||||||||||
| 251 | via { | ||||||||||
| 252 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 253 | 0 | return $f | |||||||||
| 254 | } else { | ||||||||||
| 255 | 0 | die 'Only accepts functions'; | |||||||||
| 256 | } | ||||||||||
| 257 | }, | ||||||||||
| 258 | from 'ArrayRef', | ||||||||||
| 259 | via { | ||||||||||
| 260 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 261 | map { | ||||||||||
| 262 | 2 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterObject')->coerce($_) | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 263 | } @$_ | ||||||||||
| 264 | ]); | ||||||||||
| 265 | 2 | }; | |||||||||
| 266 | |||||||||||
| 267 | 2 | subtype 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterObject', | |||||||||
| 268 | as 'Cfn::Value'; | ||||||||||
| 269 | |||||||||||
| 270 | coerce 'Cfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterObject', | ||||||||||
| 271 | from 'HashRef', | ||||||||||
| 272 | via { | ||||||||||
| 273 | 6 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
| |||||||||||
| 274 | 0 | return $f | |||||||||
| 275 | } else { | ||||||||||
| 276 | 6 | return Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::ParameterObject->new( %$_ ); | |||||||||
| 277 | } | ||||||||||
| 278 | 2 | }; | |||||||||
| 279 | |||||||||||
| 280 | 2 | package Cfn::Resource::Properties::Object::AWS::DataPipeline::Pipeline::ParameterObject { | |||||||||
| 281 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 282 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 283 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 284 | |||||||||||
| 285 | 2 | has Attributes => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterAttribute', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 286 | 2 | has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 287 | } | ||||||||||
| 288 | |||||||||||
| 289 | 2 | package Cfn::Resource::Properties::AWS::DataPipeline::Pipeline { | |||||||||
| 290 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 291 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 292 | 2 | extends 'Cfn::Resource::Properties'; | |||||||||
| 293 | |||||||||||
| 294 | 2 | has Activate => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 295 | 2 | has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 296 | 2 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 297 | 2 | has ParameterObjects => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterObject', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 298 | 2 | has ParameterValues => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::ParameterValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 299 | 2 | has PipelineObjects => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineObject', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 300 | 2 | has PipelineTags => (isa => 'ArrayOfCfn::Resource::Properties::AWS::DataPipeline::Pipeline::PipelineTag', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 301 | } | ||||||||||
| 302 | |||||||||||
| 303 | 2 | 1; | |||||||||
| 304 | ### main pod documentation begin ### | ||||||||||
| 305 | |||||||||||
| 306 | =encoding UTF-8 | ||||||||||
| 307 | |||||||||||
| 308 | =head1 NAME | ||||||||||
| 309 | |||||||||||
| 310 | Cfn::Resource::AWS::DataPipeline::Pipeline - Cfn resource for AWS::DataPipeline::Pipeline | ||||||||||
| 311 | |||||||||||
| 312 | =head1 DESCRIPTION | ||||||||||
| 313 | |||||||||||
| 314 | This module implements a Perl module that represents the CloudFormation object AWS::DataPipeline::Pipeline. | ||||||||||
| 315 | |||||||||||
| 316 | See L<Cfn> for more information on how to use it. | ||||||||||
| 317 | |||||||||||
| 318 | =head1 AUTHOR | ||||||||||
| 319 | |||||||||||
| 320 | Jose Luis Martinez | ||||||||||
| 321 | CAPSiDE | ||||||||||
| 322 | jlmartinez@capside.com | ||||||||||
| 323 | |||||||||||
| 324 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 325 | |||||||||||
| 326 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 327 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 328 | license can be found in the LICENSE file included with this module. | ||||||||||
| 329 | |||||||||||
| 330 | =cut | ||||||||||