« Cfn/Resource/AWS/AppFlow/ConnectorProfile.pm
↑ Summary
Cfn/Resource/AWS/AppIntegrations/EventIntegration.pm »
| 1 | # AWS::AppFlow::Flow generated from spec 34.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::AppFlow::Flow->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::AppFlow::Flow { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'FlowArn' ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','eu-central-1','eu-west-1','eu-west-2','eu-west-3','sa-east-1','us-east-1','us-east-2','us-west-1','us-west-2' ] | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::PrefixConfig', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::PrefixConfig', | ||
| 27 | from 'HashRef', | ||
| 28 | via { | ||
| 29 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 30 | return $f | ||
| 31 | } else { | ||
| 32 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::PrefixConfig->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::PrefixConfig { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has PrefixFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 42 | has PrefixType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 43 | } | ||
| 44 | |||
| 45 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::AggregationConfig', | ||
| 46 | as 'Cfn::Value'; | ||
| 47 | |||
| 48 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::AggregationConfig', | ||
| 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::AppFlow::Flow::AggregationConfig->new( %$_ ); | ||
| 55 | } | ||
| 56 | }; | ||
| 57 | |||
| 58 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::AggregationConfig { | ||
| 59 | use Moose; | ||
| 60 | use MooseX::StrictConstructor; | ||
| 61 | extends 'Cfn::Value::TypedValue'; | ||
| 62 | |||
| 63 | has AggregationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 64 | } | ||
| 65 | |||
| 66 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::UpsolverS3OutputFormatConfig', | ||
| 67 | as 'Cfn::Value'; | ||
| 68 | |||
| 69 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::UpsolverS3OutputFormatConfig', | ||
| 70 | from 'HashRef', | ||
| 71 | via { | ||
| 72 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 73 | return $f | ||
| 74 | } else { | ||
| 75 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::UpsolverS3OutputFormatConfig->new( %$_ ); | ||
| 76 | } | ||
| 77 | }; | ||
| 78 | |||
| 79 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::UpsolverS3OutputFormatConfig { | ||
| 80 | use Moose; | ||
| 81 | use MooseX::StrictConstructor; | ||
| 82 | extends 'Cfn::Value::TypedValue'; | ||
| 83 | |||
| 84 | has AggregationConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::AggregationConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 85 | has FileType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 86 | has PrefixConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::PrefixConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 87 | } | ||
| 88 | |||
| 89 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::S3OutputFormatConfig', | ||
| 90 | as 'Cfn::Value'; | ||
| 91 | |||
| 92 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::S3OutputFormatConfig', | ||
| 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::AppFlow::Flow::S3OutputFormatConfig->new( %$_ ); | ||
| 99 | } | ||
| 100 | }; | ||
| 101 | |||
| 102 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::S3OutputFormatConfig { | ||
| 103 | use Moose; | ||
| 104 | use MooseX::StrictConstructor; | ||
| 105 | extends 'Cfn::Value::TypedValue'; | ||
| 106 | |||
| 107 | has AggregationConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::AggregationConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 108 | has FileType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 109 | has PrefixConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::PrefixConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 110 | } | ||
| 111 | |||
| 112 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::IdFieldNamesList', | ||
| 113 | as 'Cfn::Value'; | ||
| 114 | |||
| 115 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::IdFieldNamesList', | ||
| 116 | from 'HashRef', | ||
| 117 | via { | ||
| 118 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 119 | return $f | ||
| 120 | } else { | ||
| 121 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::IdFieldNamesList->new( %$_ ); | ||
| 122 | } | ||
| 123 | }; | ||
| 124 | |||
| 125 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::IdFieldNamesList { | ||
| 126 | use Moose; | ||
| 127 | use MooseX::StrictConstructor; | ||
| 128 | extends 'Cfn::Value::TypedValue'; | ||
| 129 | |||
| 130 | has IdFieldNamesList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 131 | } | ||
| 132 | |||
| 133 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ErrorHandlingConfig', | ||
| 134 | as 'Cfn::Value'; | ||
| 135 | |||
| 136 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ErrorHandlingConfig', | ||
| 137 | from 'HashRef', | ||
| 138 | via { | ||
| 139 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 140 | return $f | ||
| 141 | } else { | ||
| 142 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::ErrorHandlingConfig->new( %$_ ); | ||
| 143 | } | ||
| 144 | }; | ||
| 145 | |||
| 146 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::ErrorHandlingConfig { | ||
| 147 | use Moose; | ||
| 148 | use MooseX::StrictConstructor; | ||
| 149 | extends 'Cfn::Value::TypedValue'; | ||
| 150 | |||
| 151 | has BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 152 | has BucketPrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 153 | has FailOnFirstError => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 154 | } | ||
| 155 | |||
| 156 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ZendeskSourceProperties', | ||
| 157 | as 'Cfn::Value'; | ||
| 158 | |||
| 159 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ZendeskSourceProperties', | ||
| 160 | from 'HashRef', | ||
| 161 | via { | ||
| 162 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 163 | return $f | ||
| 164 | } else { | ||
| 165 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::ZendeskSourceProperties->new( %$_ ); | ||
| 166 | } | ||
| 167 | }; | ||
| 168 | |||
| 169 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::ZendeskSourceProperties { | ||
| 170 | use Moose; | ||
| 171 | use MooseX::StrictConstructor; | ||
| 172 | extends 'Cfn::Value::TypedValue'; | ||
| 173 | |||
| 174 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 175 | } | ||
| 176 | |||
| 177 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::VeevaSourceProperties', | ||
| 178 | as 'Cfn::Value'; | ||
| 179 | |||
| 180 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::VeevaSourceProperties', | ||
| 181 | from 'HashRef', | ||
| 182 | via { | ||
| 183 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 184 | return $f | ||
| 185 | } else { | ||
| 186 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::VeevaSourceProperties->new( %$_ ); | ||
| 187 | } | ||
| 188 | }; | ||
| 189 | |||
| 190 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::VeevaSourceProperties { | ||
| 191 | use Moose; | ||
| 192 | use MooseX::StrictConstructor; | ||
| 193 | extends 'Cfn::Value::TypedValue'; | ||
| 194 | |||
| 195 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 196 | } | ||
| 197 | |||
| 198 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::UpsolverDestinationProperties', | ||
| 199 | as 'Cfn::Value'; | ||
| 200 | |||
| 201 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::UpsolverDestinationProperties', | ||
| 202 | from 'HashRef', | ||
| 203 | via { | ||
| 204 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 205 | return $f | ||
| 206 | } else { | ||
| 207 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::UpsolverDestinationProperties->new( %$_ ); | ||
| 208 | } | ||
| 209 | }; | ||
| 210 | |||
| 211 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::UpsolverDestinationProperties { | ||
| 212 | use Moose; | ||
| 213 | use MooseX::StrictConstructor; | ||
| 214 | extends 'Cfn::Value::TypedValue'; | ||
| 215 | |||
| 216 | has BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 217 | has BucketPrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 218 | has S3OutputFormatConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::UpsolverS3OutputFormatConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 219 | } | ||
| 220 | |||
| 221 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::TrendmicroSourceProperties', | ||
| 222 | as 'Cfn::Value'; | ||
| 223 | |||
| 224 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::TrendmicroSourceProperties', | ||
| 225 | from 'HashRef', | ||
| 226 | via { | ||
| 227 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 228 | return $f | ||
| 229 | } else { | ||
| 230 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::TrendmicroSourceProperties->new( %$_ ); | ||
| 231 | } | ||
| 232 | }; | ||
| 233 | |||
| 234 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::TrendmicroSourceProperties { | ||
| 235 | use Moose; | ||
| 236 | use MooseX::StrictConstructor; | ||
| 237 | extends 'Cfn::Value::TypedValue'; | ||
| 238 | |||
| 239 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 240 | } | ||
| 241 | |||
| 242 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SnowflakeDestinationProperties', | ||
| 243 | as 'Cfn::Value'; | ||
| 244 | |||
| 245 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SnowflakeDestinationProperties', | ||
| 246 | from 'HashRef', | ||
| 247 | via { | ||
| 248 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 249 | return $f | ||
| 250 | } else { | ||
| 251 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SnowflakeDestinationProperties->new( %$_ ); | ||
| 252 | } | ||
| 253 | }; | ||
| 254 | |||
| 255 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SnowflakeDestinationProperties { | ||
| 256 | use Moose; | ||
| 257 | use MooseX::StrictConstructor; | ||
| 258 | extends 'Cfn::Value::TypedValue'; | ||
| 259 | |||
| 260 | has BucketPrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 261 | has ErrorHandlingConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ErrorHandlingConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 262 | has IntermediateBucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 263 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 264 | } | ||
| 265 | |||
| 266 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SlackSourceProperties', | ||
| 267 | as 'Cfn::Value'; | ||
| 268 | |||
| 269 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SlackSourceProperties', | ||
| 270 | from 'HashRef', | ||
| 271 | via { | ||
| 272 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 273 | return $f | ||
| 274 | } else { | ||
| 275 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SlackSourceProperties->new( %$_ ); | ||
| 276 | } | ||
| 277 | }; | ||
| 278 | |||
| 279 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SlackSourceProperties { | ||
| 280 | use Moose; | ||
| 281 | use MooseX::StrictConstructor; | ||
| 282 | extends 'Cfn::Value::TypedValue'; | ||
| 283 | |||
| 284 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 285 | } | ||
| 286 | |||
| 287 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SingularSourceProperties', | ||
| 288 | as 'Cfn::Value'; | ||
| 289 | |||
| 290 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SingularSourceProperties', | ||
| 291 | from 'HashRef', | ||
| 292 | via { | ||
| 293 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 294 | return $f | ||
| 295 | } else { | ||
| 296 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SingularSourceProperties->new( %$_ ); | ||
| 297 | } | ||
| 298 | }; | ||
| 299 | |||
| 300 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SingularSourceProperties { | ||
| 301 | use Moose; | ||
| 302 | use MooseX::StrictConstructor; | ||
| 303 | extends 'Cfn::Value::TypedValue'; | ||
| 304 | |||
| 305 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 306 | } | ||
| 307 | |||
| 308 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ServiceNowSourceProperties', | ||
| 309 | as 'Cfn::Value'; | ||
| 310 | |||
| 311 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ServiceNowSourceProperties', | ||
| 312 | from 'HashRef', | ||
| 313 | via { | ||
| 314 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 315 | return $f | ||
| 316 | } else { | ||
| 317 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::ServiceNowSourceProperties->new( %$_ ); | ||
| 318 | } | ||
| 319 | }; | ||
| 320 | |||
| 321 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::ServiceNowSourceProperties { | ||
| 322 | use Moose; | ||
| 323 | use MooseX::StrictConstructor; | ||
| 324 | extends 'Cfn::Value::TypedValue'; | ||
| 325 | |||
| 326 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 327 | } | ||
| 328 | |||
| 329 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SalesforceSourceProperties', | ||
| 330 | as 'Cfn::Value'; | ||
| 331 | |||
| 332 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SalesforceSourceProperties', | ||
| 333 | from 'HashRef', | ||
| 334 | via { | ||
| 335 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 336 | return $f | ||
| 337 | } else { | ||
| 338 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SalesforceSourceProperties->new( %$_ ); | ||
| 339 | } | ||
| 340 | }; | ||
| 341 | |||
| 342 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SalesforceSourceProperties { | ||
| 343 | use Moose; | ||
| 344 | use MooseX::StrictConstructor; | ||
| 345 | extends 'Cfn::Value::TypedValue'; | ||
| 346 | |||
| 347 | has EnableDynamicFieldUpdate => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 348 | has IncludeDeletedRecords => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 349 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 350 | } | ||
| 351 | |||
| 352 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SalesforceDestinationProperties', | ||
| 353 | as 'Cfn::Value'; | ||
| 354 | |||
| 355 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SalesforceDestinationProperties', | ||
| 356 | from 'HashRef', | ||
| 357 | via { | ||
| 358 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 359 | return $f | ||
| 360 | } else { | ||
| 361 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SalesforceDestinationProperties->new( %$_ ); | ||
| 362 | } | ||
| 363 | }; | ||
| 364 | |||
| 365 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SalesforceDestinationProperties { | ||
| 366 | use Moose; | ||
| 367 | use MooseX::StrictConstructor; | ||
| 368 | extends 'Cfn::Value::TypedValue'; | ||
| 369 | |||
| 370 | has ErrorHandlingConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ErrorHandlingConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 371 | has IdFieldNames => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::IdFieldNamesList', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 372 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 373 | has WriteOperationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 374 | } | ||
| 375 | |||
| 376 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::S3SourceProperties', | ||
| 377 | as 'Cfn::Value'; | ||
| 378 | |||
| 379 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::S3SourceProperties', | ||
| 380 | from 'HashRef', | ||
| 381 | via { | ||
| 382 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 383 | return $f | ||
| 384 | } else { | ||
| 385 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::S3SourceProperties->new( %$_ ); | ||
| 386 | } | ||
| 387 | }; | ||
| 388 | |||
| 389 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::S3SourceProperties { | ||
| 390 | use Moose; | ||
| 391 | use MooseX::StrictConstructor; | ||
| 392 | extends 'Cfn::Value::TypedValue'; | ||
| 393 | |||
| 394 | has BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 395 | has BucketPrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 396 | } | ||
| 397 | |||
| 398 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::S3DestinationProperties', | ||
| 399 | as 'Cfn::Value'; | ||
| 400 | |||
| 401 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::S3DestinationProperties', | ||
| 402 | from 'HashRef', | ||
| 403 | via { | ||
| 404 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 405 | return $f | ||
| 406 | } else { | ||
| 407 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::S3DestinationProperties->new( %$_ ); | ||
| 408 | } | ||
| 409 | }; | ||
| 410 | |||
| 411 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::S3DestinationProperties { | ||
| 412 | use Moose; | ||
| 413 | use MooseX::StrictConstructor; | ||
| 414 | extends 'Cfn::Value::TypedValue'; | ||
| 415 | |||
| 416 | has BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 417 | has BucketPrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 418 | has S3OutputFormatConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::S3OutputFormatConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 419 | } | ||
| 420 | |||
| 421 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::RedshiftDestinationProperties', | ||
| 422 | as 'Cfn::Value'; | ||
| 423 | |||
| 424 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::RedshiftDestinationProperties', | ||
| 425 | from 'HashRef', | ||
| 426 | via { | ||
| 427 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 428 | return $f | ||
| 429 | } else { | ||
| 430 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::RedshiftDestinationProperties->new( %$_ ); | ||
| 431 | } | ||
| 432 | }; | ||
| 433 | |||
| 434 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::RedshiftDestinationProperties { | ||
| 435 | use Moose; | ||
| 436 | use MooseX::StrictConstructor; | ||
| 437 | extends 'Cfn::Value::TypedValue'; | ||
| 438 | |||
| 439 | has BucketPrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 440 | has ErrorHandlingConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ErrorHandlingConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 441 | has IntermediateBucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 442 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 443 | } | ||
| 444 | |||
| 445 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::MarketoSourceProperties', | ||
| 446 | as 'Cfn::Value'; | ||
| 447 | |||
| 448 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::MarketoSourceProperties', | ||
| 449 | from 'HashRef', | ||
| 450 | via { | ||
| 451 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 452 | return $f | ||
| 453 | } else { | ||
| 454 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::MarketoSourceProperties->new( %$_ ); | ||
| 455 | } | ||
| 456 | }; | ||
| 457 | |||
| 458 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::MarketoSourceProperties { | ||
| 459 | use Moose; | ||
| 460 | use MooseX::StrictConstructor; | ||
| 461 | extends 'Cfn::Value::TypedValue'; | ||
| 462 | |||
| 463 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 464 | } | ||
| 465 | |||
| 466 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::LookoutMetricsDestinationProperties', | ||
| 467 | as 'Cfn::Value'; | ||
| 468 | |||
| 469 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::LookoutMetricsDestinationProperties', | ||
| 470 | from 'HashRef', | ||
| 471 | via { | ||
| 472 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 473 | return $f | ||
| 474 | } else { | ||
| 475 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::LookoutMetricsDestinationProperties->new( %$_ ); | ||
| 476 | } | ||
| 477 | }; | ||
| 478 | |||
| 479 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::LookoutMetricsDestinationProperties { | ||
| 480 | use Moose; | ||
| 481 | use MooseX::StrictConstructor; | ||
| 482 | extends 'Cfn::Value::TypedValue'; | ||
| 483 | |||
| 484 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 485 | } | ||
| 486 | |||
| 487 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::InforNexusSourceProperties', | ||
| 488 | as 'Cfn::Value'; | ||
| 489 | |||
| 490 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::InforNexusSourceProperties', | ||
| 491 | from 'HashRef', | ||
| 492 | via { | ||
| 493 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 494 | return $f | ||
| 495 | } else { | ||
| 496 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::InforNexusSourceProperties->new( %$_ ); | ||
| 497 | } | ||
| 498 | }; | ||
| 499 | |||
| 500 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::InforNexusSourceProperties { | ||
| 501 | use Moose; | ||
| 502 | use MooseX::StrictConstructor; | ||
| 503 | extends 'Cfn::Value::TypedValue'; | ||
| 504 | |||
| 505 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 506 | } | ||
| 507 | |||
| 508 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::GoogleAnalyticsSourceProperties', | ||
| 509 | as 'Cfn::Value'; | ||
| 510 | |||
| 511 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::GoogleAnalyticsSourceProperties', | ||
| 512 | from 'HashRef', | ||
| 513 | via { | ||
| 514 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 515 | return $f | ||
| 516 | } else { | ||
| 517 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::GoogleAnalyticsSourceProperties->new( %$_ ); | ||
| 518 | } | ||
| 519 | }; | ||
| 520 | |||
| 521 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::GoogleAnalyticsSourceProperties { | ||
| 522 | use Moose; | ||
| 523 | use MooseX::StrictConstructor; | ||
| 524 | extends 'Cfn::Value::TypedValue'; | ||
| 525 | |||
| 526 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 527 | } | ||
| 528 | |||
| 529 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::EventBridgeDestinationProperties', | ||
| 530 | as 'Cfn::Value'; | ||
| 531 | |||
| 532 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::EventBridgeDestinationProperties', | ||
| 533 | from 'HashRef', | ||
| 534 | via { | ||
| 535 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 536 | return $f | ||
| 537 | } else { | ||
| 538 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::EventBridgeDestinationProperties->new( %$_ ); | ||
| 539 | } | ||
| 540 | }; | ||
| 541 | |||
| 542 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::EventBridgeDestinationProperties { | ||
| 543 | use Moose; | ||
| 544 | use MooseX::StrictConstructor; | ||
| 545 | extends 'Cfn::Value::TypedValue'; | ||
| 546 | |||
| 547 | has ErrorHandlingConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ErrorHandlingConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 548 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 549 | } | ||
| 550 | |||
| 551 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::DynatraceSourceProperties', | ||
| 552 | as 'Cfn::Value'; | ||
| 553 | |||
| 554 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::DynatraceSourceProperties', | ||
| 555 | from 'HashRef', | ||
| 556 | via { | ||
| 557 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 558 | return $f | ||
| 559 | } else { | ||
| 560 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::DynatraceSourceProperties->new( %$_ ); | ||
| 561 | } | ||
| 562 | }; | ||
| 563 | |||
| 564 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::DynatraceSourceProperties { | ||
| 565 | use Moose; | ||
| 566 | use MooseX::StrictConstructor; | ||
| 567 | extends 'Cfn::Value::TypedValue'; | ||
| 568 | |||
| 569 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 570 | } | ||
| 571 | |||
| 572 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::DatadogSourceProperties', | ||
| 573 | as 'Cfn::Value'; | ||
| 574 | |||
| 575 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::DatadogSourceProperties', | ||
| 576 | from 'HashRef', | ||
| 577 | via { | ||
| 578 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 579 | return $f | ||
| 580 | } else { | ||
| 581 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::DatadogSourceProperties->new( %$_ ); | ||
| 582 | } | ||
| 583 | }; | ||
| 584 | |||
| 585 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::DatadogSourceProperties { | ||
| 586 | use Moose; | ||
| 587 | use MooseX::StrictConstructor; | ||
| 588 | extends 'Cfn::Value::TypedValue'; | ||
| 589 | |||
| 590 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 591 | } | ||
| 592 | |||
| 593 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::AmplitudeSourceProperties', | ||
| 594 | as 'Cfn::Value'; | ||
| 595 | |||
| 596 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::AmplitudeSourceProperties', | ||
| 597 | from 'HashRef', | ||
| 598 | via { | ||
| 599 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 600 | return $f | ||
| 601 | } else { | ||
| 602 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::AmplitudeSourceProperties->new( %$_ ); | ||
| 603 | } | ||
| 604 | }; | ||
| 605 | |||
| 606 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::AmplitudeSourceProperties { | ||
| 607 | use Moose; | ||
| 608 | use MooseX::StrictConstructor; | ||
| 609 | extends 'Cfn::Value::TypedValue'; | ||
| 610 | |||
| 611 | has Object => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 612 | } | ||
| 613 | subtype 'ArrayOfCfn::Resource::Properties::AWS::AppFlow::Flow::TaskPropertiesObject', | ||
| 614 | as 'Cfn::Value', | ||
| 615 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 616 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 617 | |||
| 618 | coerce 'ArrayOfCfn::Resource::Properties::AWS::AppFlow::Flow::TaskPropertiesObject', | ||
| 619 | from 'HashRef', | ||
| 620 | via { | ||
| 621 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 622 | return $f | ||
| 623 | } else { | ||
| 624 | die 'Only accepts functions'; | ||
| 625 | } | ||
| 626 | }, | ||
| 627 | from 'ArrayRef', | ||
| 628 | via { | ||
| 629 | Cfn::Value::Array->new(Value => [ | ||
| 630 | map { | ||
| 631 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::AppFlow::Flow::TaskPropertiesObject')->coerce($_) | ||
| 632 | } @$_ | ||
| 633 | ]); | ||
| 634 | }; | ||
| 635 | |||
| 636 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::TaskPropertiesObject', | ||
| 637 | as 'Cfn::Value'; | ||
| 638 | |||
| 639 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::TaskPropertiesObject', | ||
| 640 | from 'HashRef', | ||
| 641 | via { | ||
| 642 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 643 | return $f | ||
| 644 | } else { | ||
| 645 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::TaskPropertiesObject->new( %$_ ); | ||
| 646 | } | ||
| 647 | }; | ||
| 648 | |||
| 649 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::TaskPropertiesObject { | ||
| 650 | use Moose; | ||
| 651 | use MooseX::StrictConstructor; | ||
| 652 | extends 'Cfn::Value::TypedValue'; | ||
| 653 | |||
| 654 | has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 655 | has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 656 | } | ||
| 657 | |||
| 658 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SourceConnectorProperties', | ||
| 659 | as 'Cfn::Value'; | ||
| 660 | |||
| 661 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SourceConnectorProperties', | ||
| 662 | from 'HashRef', | ||
| 663 | via { | ||
| 664 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 665 | return $f | ||
| 666 | } else { | ||
| 667 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SourceConnectorProperties->new( %$_ ); | ||
| 668 | } | ||
| 669 | }; | ||
| 670 | |||
| 671 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SourceConnectorProperties { | ||
| 672 | use Moose; | ||
| 673 | use MooseX::StrictConstructor; | ||
| 674 | extends 'Cfn::Value::TypedValue'; | ||
| 675 | |||
| 676 | has Amplitude => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::AmplitudeSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 677 | has Datadog => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::DatadogSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 678 | has Dynatrace => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::DynatraceSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 679 | has GoogleAnalytics => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::GoogleAnalyticsSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 680 | has InforNexus => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::InforNexusSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 681 | has Marketo => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::MarketoSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 682 | has S3 => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::S3SourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 683 | has Salesforce => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SalesforceSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 684 | has ServiceNow => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ServiceNowSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 685 | has Singular => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SingularSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 686 | has Slack => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SlackSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 687 | has Trendmicro => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::TrendmicroSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 688 | has Veeva => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::VeevaSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 689 | has Zendesk => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ZendeskSourceProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 690 | } | ||
| 691 | |||
| 692 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ScheduledTriggerProperties', | ||
| 693 | as 'Cfn::Value'; | ||
| 694 | |||
| 695 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ScheduledTriggerProperties', | ||
| 696 | from 'HashRef', | ||
| 697 | via { | ||
| 698 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 699 | return $f | ||
| 700 | } else { | ||
| 701 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::ScheduledTriggerProperties->new( %$_ ); | ||
| 702 | } | ||
| 703 | }; | ||
| 704 | |||
| 705 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::ScheduledTriggerProperties { | ||
| 706 | use Moose; | ||
| 707 | use MooseX::StrictConstructor; | ||
| 708 | extends 'Cfn::Value::TypedValue'; | ||
| 709 | |||
| 710 | has DataPullMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 711 | has ScheduleEndTime => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 712 | has ScheduleExpression => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 713 | has ScheduleStartTime => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 714 | has TimeZone => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 715 | } | ||
| 716 | |||
| 717 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::IncrementalPullConfig', | ||
| 718 | as 'Cfn::Value'; | ||
| 719 | |||
| 720 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::IncrementalPullConfig', | ||
| 721 | from 'HashRef', | ||
| 722 | via { | ||
| 723 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 724 | return $f | ||
| 725 | } else { | ||
| 726 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::IncrementalPullConfig->new( %$_ ); | ||
| 727 | } | ||
| 728 | }; | ||
| 729 | |||
| 730 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::IncrementalPullConfig { | ||
| 731 | use Moose; | ||
| 732 | use MooseX::StrictConstructor; | ||
| 733 | extends 'Cfn::Value::TypedValue'; | ||
| 734 | |||
| 735 | has DatetimeTypeFieldName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 736 | } | ||
| 737 | |||
| 738 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::DestinationConnectorProperties', | ||
| 739 | as 'Cfn::Value'; | ||
| 740 | |||
| 741 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::DestinationConnectorProperties', | ||
| 742 | from 'HashRef', | ||
| 743 | via { | ||
| 744 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 745 | return $f | ||
| 746 | } else { | ||
| 747 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::DestinationConnectorProperties->new( %$_ ); | ||
| 748 | } | ||
| 749 | }; | ||
| 750 | |||
| 751 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::DestinationConnectorProperties { | ||
| 752 | use Moose; | ||
| 753 | use MooseX::StrictConstructor; | ||
| 754 | extends 'Cfn::Value::TypedValue'; | ||
| 755 | |||
| 756 | has EventBridge => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::EventBridgeDestinationProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 757 | has LookoutMetrics => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::LookoutMetricsDestinationProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 758 | has Redshift => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::RedshiftDestinationProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 759 | has S3 => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::S3DestinationProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 760 | has Salesforce => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SalesforceDestinationProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 761 | has Snowflake => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SnowflakeDestinationProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 762 | has Upsolver => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::UpsolverDestinationProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 763 | } | ||
| 764 | |||
| 765 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ConnectorOperator', | ||
| 766 | as 'Cfn::Value'; | ||
| 767 | |||
| 768 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ConnectorOperator', | ||
| 769 | from 'HashRef', | ||
| 770 | via { | ||
| 771 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 772 | return $f | ||
| 773 | } else { | ||
| 774 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::ConnectorOperator->new( %$_ ); | ||
| 775 | } | ||
| 776 | }; | ||
| 777 | |||
| 778 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::ConnectorOperator { | ||
| 779 | use Moose; | ||
| 780 | use MooseX::StrictConstructor; | ||
| 781 | extends 'Cfn::Value::TypedValue'; | ||
| 782 | |||
| 783 | has Amplitude => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 784 | has Datadog => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 785 | has Dynatrace => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 786 | has GoogleAnalytics => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 787 | has InforNexus => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 788 | has Marketo => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 789 | has S3 => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 790 | has Salesforce => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 791 | has ServiceNow => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 792 | has Singular => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 793 | has Slack => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 794 | has Trendmicro => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 795 | has Veeva => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 796 | has Zendesk => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 797 | } | ||
| 798 | |||
| 799 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::TriggerConfig', | ||
| 800 | as 'Cfn::Value'; | ||
| 801 | |||
| 802 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::TriggerConfig', | ||
| 803 | from 'HashRef', | ||
| 804 | via { | ||
| 805 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 806 | return $f | ||
| 807 | } else { | ||
| 808 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::TriggerConfig->new( %$_ ); | ||
| 809 | } | ||
| 810 | }; | ||
| 811 | |||
| 812 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::TriggerConfig { | ||
| 813 | use Moose; | ||
| 814 | use MooseX::StrictConstructor; | ||
| 815 | extends 'Cfn::Value::TypedValue'; | ||
| 816 | |||
| 817 | has TriggerProperties => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ScheduledTriggerProperties', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 818 | has TriggerType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 819 | } | ||
| 820 | subtype 'ArrayOfCfn::Resource::Properties::AWS::AppFlow::Flow::Task', | ||
| 821 | as 'Cfn::Value', | ||
| 822 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 823 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 824 | |||
| 825 | coerce 'ArrayOfCfn::Resource::Properties::AWS::AppFlow::Flow::Task', | ||
| 826 | from 'HashRef', | ||
| 827 | via { | ||
| 828 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 829 | return $f | ||
| 830 | } else { | ||
| 831 | die 'Only accepts functions'; | ||
| 832 | } | ||
| 833 | }, | ||
| 834 | from 'ArrayRef', | ||
| 835 | via { | ||
| 836 | Cfn::Value::Array->new(Value => [ | ||
| 837 | map { | ||
| 838 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::AppFlow::Flow::Task')->coerce($_) | ||
| 839 | } @$_ | ||
| 840 | ]); | ||
| 841 | }; | ||
| 842 | |||
| 843 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::Task', | ||
| 844 | as 'Cfn::Value'; | ||
| 845 | |||
| 846 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::Task', | ||
| 847 | from 'HashRef', | ||
| 848 | via { | ||
| 849 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 850 | return $f | ||
| 851 | } else { | ||
| 852 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::Task->new( %$_ ); | ||
| 853 | } | ||
| 854 | }; | ||
| 855 | |||
| 856 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::Task { | ||
| 857 | use Moose; | ||
| 858 | use MooseX::StrictConstructor; | ||
| 859 | extends 'Cfn::Value::TypedValue'; | ||
| 860 | |||
| 861 | has ConnectorOperator => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::ConnectorOperator', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 862 | has DestinationField => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 863 | has SourceFields => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 864 | has TaskProperties => (isa => 'ArrayOfCfn::Resource::Properties::AWS::AppFlow::Flow::TaskPropertiesObject', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 865 | has TaskType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 866 | } | ||
| 867 | |||
| 868 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SourceFlowConfig', | ||
| 869 | as 'Cfn::Value'; | ||
| 870 | |||
| 871 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SourceFlowConfig', | ||
| 872 | from 'HashRef', | ||
| 873 | via { | ||
| 874 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 875 | return $f | ||
| 876 | } else { | ||
| 877 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SourceFlowConfig->new( %$_ ); | ||
| 878 | } | ||
| 879 | }; | ||
| 880 | |||
| 881 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::SourceFlowConfig { | ||
| 882 | use Moose; | ||
| 883 | use MooseX::StrictConstructor; | ||
| 884 | extends 'Cfn::Value::TypedValue'; | ||
| 885 | |||
| 886 | has ConnectorProfileName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 887 | has ConnectorType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 888 | has IncrementalPullConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::IncrementalPullConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 889 | has SourceConnectorProperties => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SourceConnectorProperties', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 890 | } | ||
| 891 | subtype 'ArrayOfCfn::Resource::Properties::AWS::AppFlow::Flow::DestinationFlowConfig', | ||
| 892 | as 'Cfn::Value', | ||
| 893 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 894 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 895 | |||
| 896 | coerce 'ArrayOfCfn::Resource::Properties::AWS::AppFlow::Flow::DestinationFlowConfig', | ||
| 897 | from 'HashRef', | ||
| 898 | via { | ||
| 899 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 900 | return $f | ||
| 901 | } else { | ||
| 902 | die 'Only accepts functions'; | ||
| 903 | } | ||
| 904 | }, | ||
| 905 | from 'ArrayRef', | ||
| 906 | via { | ||
| 907 | Cfn::Value::Array->new(Value => [ | ||
| 908 | map { | ||
| 909 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::AppFlow::Flow::DestinationFlowConfig')->coerce($_) | ||
| 910 | } @$_ | ||
| 911 | ]); | ||
| 912 | }; | ||
| 913 | |||
| 914 | subtype 'Cfn::Resource::Properties::AWS::AppFlow::Flow::DestinationFlowConfig', | ||
| 915 | as 'Cfn::Value'; | ||
| 916 | |||
| 917 | coerce 'Cfn::Resource::Properties::AWS::AppFlow::Flow::DestinationFlowConfig', | ||
| 918 | from 'HashRef', | ||
| 919 | via { | ||
| 920 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 921 | return $f | ||
| 922 | } else { | ||
| 923 | return Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::DestinationFlowConfig->new( %$_ ); | ||
| 924 | } | ||
| 925 | }; | ||
| 926 | |||
| 927 | package Cfn::Resource::Properties::Object::AWS::AppFlow::Flow::DestinationFlowConfig { | ||
| 928 | use Moose; | ||
| 929 | use MooseX::StrictConstructor; | ||
| 930 | extends 'Cfn::Value::TypedValue'; | ||
| 931 | |||
| 932 | has ConnectorProfileName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 933 | has ConnectorType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 934 | has DestinationConnectorProperties => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::DestinationConnectorProperties', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 935 | } | ||
| 936 | |||
| 937 | package Cfn::Resource::Properties::AWS::AppFlow::Flow { | ||
| 938 | use Moose; | ||
| 939 | use MooseX::StrictConstructor; | ||
| 940 | extends 'Cfn::Resource::Properties'; | ||
| 941 | |||
| 942 | has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 943 | has DestinationFlowConfigList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::AppFlow::Flow::DestinationFlowConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 944 | has FlowName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 945 | has KMSArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 946 | has SourceFlowConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::SourceFlowConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 947 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 948 | has Tasks => (isa => 'ArrayOfCfn::Resource::Properties::AWS::AppFlow::Flow::Task', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 949 | has TriggerConfig => (isa => 'Cfn::Resource::Properties::AWS::AppFlow::Flow::TriggerConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 950 | } | ||
| 951 | |||
| 952 | 1; | ||
| 953 | ### main pod documentation begin ### | ||
| 954 | |||
| 955 | =encoding UTF-8 | ||
| 956 | |||
| 957 | =head1 NAME | ||
| 958 | |||
| 959 | Cfn::Resource::AWS::AppFlow::Flow - Cfn resource for AWS::AppFlow::Flow | ||
| 960 | |||
| 961 | =head1 DESCRIPTION | ||
| 962 | |||
| 963 | This module implements a Perl module that represents the CloudFormation object AWS::AppFlow::Flow. | ||
| 964 | |||
| 965 | See L<Cfn> for more information on how to use it. | ||
| 966 | |||
| 967 | =head1 AUTHOR | ||
| 968 | |||
| 969 | Jose Luis Martinez | ||
| 970 | CAPSiDE | ||
| 971 | jlmartinez@capside.com | ||
| 972 | |||
| 973 | =head1 COPYRIGHT and LICENSE | ||
| 974 | |||
| 975 | Copyright (c) 2013 by CAPSiDE | ||
| 976 | This code is distributed under the Apache 2 License. The full text of the | ||
| 977 | license can be found in the LICENSE file included with this module. | ||
| 978 | |||
| 979 | =cut |