TSABotStack.template.json
1 { 2 "Resources": { 3 "TSABottsaimagesddbC2B583E6": { 4 "Type": "AWS::DynamoDB::Table", 5 "Properties": { 6 "KeySchema": [ 7 { 8 "AttributeName": "id", 9 "KeyType": "HASH" 10 } 11 ], 12 "AttributeDefinitions": [ 13 { 14 "AttributeName": "id", 15 "AttributeType": "S" 16 } 17 ], 18 "ProvisionedThroughput": { 19 "ReadCapacityUnits": 5, 20 "WriteCapacityUnits": 5 21 }, 22 "TableName": "tsa-images2", 23 "TimeToLiveSpecification": { 24 "AttributeName": "TTL", 25 "Enabled": true 26 } 27 }, 28 "UpdateReplacePolicy": "Delete", 29 "DeletionPolicy": "Delete", 30 "Metadata": { 31 "aws:cdk:path": "TSABotStack/TSABot/tsaimagesddb/Resource" 32 } 33 }, 34 "TSABotFlightsddb5DA000DB": { 35 "Type": "AWS::DynamoDB::Table", 36 "Properties": { 37 "KeySchema": [ 38 { 39 "AttributeName": "arr_iata", 40 "KeyType": "HASH" 41 } 42 ], 43 "AttributeDefinitions": [ 44 { 45 "AttributeName": "arr_iata", 46 "AttributeType": "S" 47 } 48 ], 49 "ProvisionedThroughput": { 50 "ReadCapacityUnits": 5, 51 "WriteCapacityUnits": 5 52 }, 53 "StreamSpecification": { 54 "StreamViewType": "KEYS_ONLY" 55 }, 56 "TableName": "Flights2", 57 "TimeToLiveSpecification": { 58 "AttributeName": "TTL", 59 "Enabled": true 60 } 61 }, 62 "UpdateReplacePolicy": "Delete", 63 "DeletionPolicy": "Delete", 64 "Metadata": { 65 "aws:cdk:path": "TSABotStack/TSABot/Flightsddb/Resource" 66 } 67 }, 68 "TSABotFlightsDepartureLambdaServiceRole38E95A52": { 69 "Type": "AWS::IAM::Role", 70 "Properties": { 71 "AssumeRolePolicyDocument": { 72 "Statement": [ 73 { 74 "Action": "sts:AssumeRole", 75 "Effect": "Allow", 76 "Principal": { 77 "Service": "lambda.amazonaws.com" 78 } 79 } 80 ], 81 "Version": "2012-10-17" 82 }, 83 "ManagedPolicyArns": [ 84 { 85 "Fn::Join": [ 86 "", 87 [ 88 "arn:", 89 { 90 "Ref": "AWS::Partition" 91 }, 92 ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" 93 ] 94 ] 95 } 96 ] 97 }, 98 "Metadata": { 99 "aws:cdk:path": "TSABotStack/TSABot/FlightsDepartureLambda/ServiceRole/Resource" 100 } 101 }, 102 "TSABotFlightsDepartureLambdaServiceRoleDefaultPolicy899C3CDE": { 103 "Type": "AWS::IAM::Policy", 104 "Properties": { 105 "PolicyDocument": { 106 "Statement": [ 107 { 108 "Action": "dynamodb:BatchWriteItem", 109 "Effect": "Allow", 110 "Resource": "arn:aws:dynamodb:*:*:table/Flights2" 111 } 112 ], 113 "Version": "2012-10-17" 114 }, 115 "PolicyName": "TSABotFlightsDepartureLambdaServiceRoleDefaultPolicy899C3CDE", 116 "Roles": [ 117 { 118 "Ref": "TSABotFlightsDepartureLambdaServiceRole38E95A52" 119 } 120 ] 121 }, 122 "Metadata": { 123 "aws:cdk:path": "TSABotStack/TSABot/FlightsDepartureLambda/ServiceRole/DefaultPolicy/Resource" 124 } 125 }, 126 "TSABotFlightsDepartureLambda441FA50C": { 127 "Type": "AWS::Lambda::Function", 128 "Properties": { 129 "Code": { 130 "S3Bucket": { 131 "Ref": "AssetParameters34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22S3Bucket0C9B2C82" 132 }, 133 "S3Key": { 134 "Fn::Join": [ 135 "", 136 [ 137 { 138 "Fn::Select": [ 139 0, 140 { 141 "Fn::Split": [ 142 "||", 143 { 144 "Ref": "AssetParameters34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22S3VersionKey0B5D313C" 145 } 146 ] 147 } 148 ] 149 }, 150 { 151 "Fn::Select": [ 152 1, 153 { 154 "Fn::Split": [ 155 "||", 156 { 157 "Ref": "AssetParameters34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22S3VersionKey0B5D313C" 158 } 159 ] 160 } 161 ] 162 } 163 ] 164 ] 165 } 166 }, 167 "Role": { 168 "Fn::GetAtt": [ 169 "TSABotFlightsDepartureLambdaServiceRole38E95A52", 170 "Arn" 171 ] 172 }, 173 "FunctionName": "update-flight-LasVegasdeparture2", 174 "Handler": "flight.handler_name", 175 "Runtime": "python3.8", 176 "Timeout": 10 177 }, 178 "DependsOn": [ 179 "TSABotFlightsDepartureLambdaServiceRoleDefaultPolicy899C3CDE", 180 "TSABotFlightsDepartureLambdaServiceRole38E95A52" 181 ], 182 "Metadata": { 183 "aws:cdk:path": "TSABotStack/TSABot/FlightsDepartureLambda/Resource", 184 "aws:asset:path": "asset.34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22", 185 "aws:asset:original-path": "/Users/kedouard/Documents/SA/Labs/TSA bot/TSABot_BuildersFair/cloudformation-templates/resources/Lambda/update-flight-LasVegasdeparture", 186 "aws:asset:is-bundled": false, 187 "aws:asset:property": "Code" 188 } 189 }, 190 "TSABotMyProviderDrinkCustomResourcePolicyFC51D724": { 191 "Type": "AWS::IAM::Policy", 192 "Properties": { 193 "PolicyDocument": { 194 "Statement": [ 195 { 196 "Action": "dynamodb:PutItem", 197 "Effect": "Allow", 198 "Resource": "*" 199 } 200 ], 201 "Version": "2012-10-17" 202 }, 203 "PolicyName": "TSABotMyProviderDrinkCustomResourcePolicyFC51D724", 204 "Roles": [ 205 { 206 "Ref": "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2" 207 } 208 ] 209 }, 210 "Metadata": { 211 "aws:cdk:path": "TSABotStack/TSABot/MyProviderDrink/CustomResourcePolicy/Resource" 212 } 213 }, 214 "TSABotMyProviderDrinkA062A6DE": { 215 "Type": "Custom::AWS", 216 "Properties": { 217 "ServiceToken": { 218 "Fn::GetAtt": [ 219 "AWS679f53fac002430cb0da5b7982bd22872D164C4C", 220 "Arn" 221 ] 222 }, 223 "Create": "{\"service\":\"DynamoDB\",\"action\":\"putItem\",\"parameters\":{\"TableName\":\"tsa-images2\",\"Item\":{\"id\":{\"S\":\"Drink\"},\"Allowed\":{\"BOOL\":false},\"labels\":{\"SS\":[\"Bottle\",\"Can\",\"Coffee\",\"Cup\"]}}},\"physicalResourceId\":\"initDBDataDrink\"}", 224 "InstallLatestAwsSdk": true 225 }, 226 "DependsOn": [ 227 "TSABotMyProviderDrinkCustomResourcePolicyFC51D724" 228 ], 229 "UpdateReplacePolicy": "Delete", 230 "DeletionPolicy": "Delete", 231 "Metadata": { 232 "aws:cdk:path": "TSABotStack/TSABot/MyProviderDrink/Resource/Default" 233 } 234 }, 235 "TSABotinitDBResourcePhoneCustomResourcePolicy856B9153": { 236 "Type": "AWS::IAM::Policy", 237 "Properties": { 238 "PolicyDocument": { 239 "Statement": [ 240 { 241 "Action": "dynamodb:PutItem", 242 "Effect": "Allow", 243 "Resource": "*" 244 } 245 ], 246 "Version": "2012-10-17" 247 }, 248 "PolicyName": "TSABotinitDBResourcePhoneCustomResourcePolicy856B9153", 249 "Roles": [ 250 { 251 "Ref": "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2" 252 } 253 ] 254 }, 255 "Metadata": { 256 "aws:cdk:path": "TSABotStack/TSABot/initDBResourcePhone/CustomResourcePolicy/Resource" 257 } 258 }, 259 "TSABotinitDBResourcePhoneD3A5C970": { 260 "Type": "Custom::AWS", 261 "Properties": { 262 "ServiceToken": { 263 "Fn::GetAtt": [ 264 "AWS679f53fac002430cb0da5b7982bd22872D164C4C", 265 "Arn" 266 ] 267 }, 268 "Create": "{\"service\":\"DynamoDB\",\"action\":\"putItem\",\"parameters\":{\"TableName\":\"tsa-images2\",\"Item\":{\"id\":{\"S\":\"Phone\"},\"Allowed\":{\"BOOL\":false},\"labels\":{\"SS\":[\"Cell Phone\",\"Iphone\",\"Mobile Phone\",\"Phone\"]}}},\"physicalResourceId\":\"initDBDataPhone\"}", 269 "InstallLatestAwsSdk": true 270 }, 271 "DependsOn": [ 272 "TSABotinitDBResourcePhoneCustomResourcePolicy856B9153" 273 ], 274 "UpdateReplacePolicy": "Delete", 275 "DeletionPolicy": "Delete", 276 "Metadata": { 277 "aws:cdk:path": "TSABotStack/TSABot/initDBResourcePhone/Resource/Default" 278 } 279 }, 280 "TSABotinitDBResourceHatCustomResourcePolicyACFD382B": { 281 "Type": "AWS::IAM::Policy", 282 "Properties": { 283 "PolicyDocument": { 284 "Statement": [ 285 { 286 "Action": "dynamodb:PutItem", 287 "Effect": "Allow", 288 "Resource": "*" 289 } 290 ], 291 "Version": "2012-10-17" 292 }, 293 "PolicyName": "TSABotinitDBResourceHatCustomResourcePolicyACFD382B", 294 "Roles": [ 295 { 296 "Ref": "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2" 297 } 298 ] 299 }, 300 "Metadata": { 301 "aws:cdk:path": "TSABotStack/TSABot/initDBResourceHat/CustomResourcePolicy/Resource" 302 } 303 }, 304 "TSABotinitDBResourceHat9F021360": { 305 "Type": "Custom::AWS", 306 "Properties": { 307 "ServiceToken": { 308 "Fn::GetAtt": [ 309 "AWS679f53fac002430cb0da5b7982bd22872D164C4C", 310 "Arn" 311 ] 312 }, 313 "Create": "{\"service\":\"DynamoDB\",\"action\":\"putItem\",\"parameters\":{\"TableName\":\"tsa-images2\",\"Item\":{\"id\":{\"S\":\"Hat\"},\"Allowed\":{\"BOOL\":false},\"labels\":{\"SS\":[\"Baseball Cap\",\"Cap\",\"Hat\"]}}},\"physicalResourceId\":\"initDBDataHat\"}", 314 "InstallLatestAwsSdk": true 315 }, 316 "DependsOn": [ 317 "TSABotinitDBResourceHatCustomResourcePolicyACFD382B" 318 ], 319 "UpdateReplacePolicy": "Delete", 320 "DeletionPolicy": "Delete", 321 "Metadata": { 322 "aws:cdk:path": "TSABotStack/TSABot/initDBResourceHat/Resource/Default" 323 } 324 }, 325 "TSABotinitDBResourceLaptopCustomResourcePolicy1DFE7A5B": { 326 "Type": "AWS::IAM::Policy", 327 "Properties": { 328 "PolicyDocument": { 329 "Statement": [ 330 { 331 "Action": "dynamodb:PutItem", 332 "Effect": "Allow", 333 "Resource": "*" 334 } 335 ], 336 "Version": "2012-10-17" 337 }, 338 "PolicyName": "TSABotinitDBResourceLaptopCustomResourcePolicy1DFE7A5B", 339 "Roles": [ 340 { 341 "Ref": "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2" 342 } 343 ] 344 }, 345 "Metadata": { 346 "aws:cdk:path": "TSABotStack/TSABot/initDBResourceLaptop/CustomResourcePolicy/Resource" 347 } 348 }, 349 "TSABotinitDBResourceLaptop59B7F43C": { 350 "Type": "Custom::AWS", 351 "Properties": { 352 "ServiceToken": { 353 "Fn::GetAtt": [ 354 "AWS679f53fac002430cb0da5b7982bd22872D164C4C", 355 "Arn" 356 ] 357 }, 358 "Create": "{\"service\":\"DynamoDB\",\"action\":\"putItem\",\"parameters\":{\"TableName\":\"tsa-images2\",\"Item\":{\"id\":{\"S\":\"Laptop\"},\"Allowed\":{\"BOOL\":false},\"labels\":{\"SS\":[\"Computer\",\"Laptop\"]}}},\"physicalResourceId\":\"initDBDataLaptop\"}", 359 "InstallLatestAwsSdk": true 360 }, 361 "DependsOn": [ 362 "TSABotinitDBResourceLaptopCustomResourcePolicy1DFE7A5B" 363 ], 364 "UpdateReplacePolicy": "Delete", 365 "DeletionPolicy": "Delete", 366 "Metadata": { 367 "aws:cdk:path": "TSABotStack/TSABot/initDBResourceLaptop/Resource/Default" 368 } 369 }, 370 "TSABotinitDBResourceJacketCustomResourcePolicyE9B507F9": { 371 "Type": "AWS::IAM::Policy", 372 "Properties": { 373 "PolicyDocument": { 374 "Statement": [ 375 { 376 "Action": "dynamodb:PutItem", 377 "Effect": "Allow", 378 "Resource": "*" 379 } 380 ], 381 "Version": "2012-10-17" 382 }, 383 "PolicyName": "TSABotinitDBResourceJacketCustomResourcePolicyE9B507F9", 384 "Roles": [ 385 { 386 "Ref": "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2" 387 } 388 ] 389 }, 390 "Metadata": { 391 "aws:cdk:path": "TSABotStack/TSABot/initDBResourceJacket/CustomResourcePolicy/Resource" 392 } 393 }, 394 "TSABotinitDBResourceJacket465C4B1E": { 395 "Type": "Custom::AWS", 396 "Properties": { 397 "ServiceToken": { 398 "Fn::GetAtt": [ 399 "AWS679f53fac002430cb0da5b7982bd22872D164C4C", 400 "Arn" 401 ] 402 }, 403 "Create": "{\"service\":\"DynamoDB\",\"action\":\"putItem\",\"parameters\":{\"TableName\":\"tsa-images2\",\"Item\":{\"id\":{\"S\":\"Jacket\"},\"Allowed\":{\"BOOL\":false},\"labels\":{\"SS\":[\"Coat\",\"Sleeve\",\"Sweater\",\"Sweatshirt\"]}}},\"physicalResourceId\":\"initDBDataJacket\"}", 404 "InstallLatestAwsSdk": true 405 }, 406 "DependsOn": [ 407 "TSABotinitDBResourceJacketCustomResourcePolicyE9B507F9" 408 ], 409 "UpdateReplacePolicy": "Delete", 410 "DeletionPolicy": "Delete", 411 "Metadata": { 412 "aws:cdk:path": "TSABotStack/TSABot/initDBResourceJacket/Resource/Default" 413 } 414 }, 415 "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2": { 416 "Type": "AWS::IAM::Role", 417 "Properties": { 418 "AssumeRolePolicyDocument": { 419 "Statement": [ 420 { 421 "Action": "sts:AssumeRole", 422 "Effect": "Allow", 423 "Principal": { 424 "Service": "lambda.amazonaws.com" 425 } 426 } 427 ], 428 "Version": "2012-10-17" 429 }, 430 "ManagedPolicyArns": [ 431 { 432 "Fn::Join": [ 433 "", 434 [ 435 "arn:", 436 { 437 "Ref": "AWS::Partition" 438 }, 439 ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" 440 ] 441 ] 442 } 443 ] 444 }, 445 "Metadata": { 446 "aws:cdk:path": "TSABotStack/AWS679f53fac002430cb0da5b7982bd2287/ServiceRole/Resource" 447 } 448 }, 449 "AWS679f53fac002430cb0da5b7982bd22872D164C4C": { 450 "Type": "AWS::Lambda::Function", 451 "Properties": { 452 "Code": { 453 "S3Bucket": { 454 "Ref": "AssetParameters11d371859e49f3b1a49896583254890801a40beada56e4c84409a179a221e2e2S3Bucket04AFB68D" 455 }, 456 "S3Key": { 457 "Fn::Join": [ 458 "", 459 [ 460 { 461 "Fn::Select": [ 462 0, 463 { 464 "Fn::Split": [ 465 "||", 466 { 467 "Ref": "AssetParameters11d371859e49f3b1a49896583254890801a40beada56e4c84409a179a221e2e2S3VersionKeyC247374B" 468 } 469 ] 470 } 471 ] 472 }, 473 { 474 "Fn::Select": [ 475 1, 476 { 477 "Fn::Split": [ 478 "||", 479 { 480 "Ref": "AssetParameters11d371859e49f3b1a49896583254890801a40beada56e4c84409a179a221e2e2S3VersionKeyC247374B" 481 } 482 ] 483 } 484 ] 485 } 486 ] 487 ] 488 } 489 }, 490 "Role": { 491 "Fn::GetAtt": [ 492 "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2", 493 "Arn" 494 ] 495 }, 496 "Handler": "index.handler", 497 "Runtime": "nodejs12.x", 498 "Timeout": 120 499 }, 500 "DependsOn": [ 501 "AWS679f53fac002430cb0da5b7982bd2287ServiceRoleC1EA0FF2" 502 ], 503 "Metadata": { 504 "aws:cdk:path": "TSABotStack/AWS679f53fac002430cb0da5b7982bd2287/Resource", 505 "aws:asset:path": "asset.11d371859e49f3b1a49896583254890801a40beada56e4c84409a179a221e2e2", 506 "aws:asset:original-path": "/Users/kedouard/Documents/SA/Labs/TSA bot/TSABot_BuildersFair/cloudformation-templates/node_modules/@aws-cdk/custom-resources/lib/aws-custom-resource/runtime", 507 "aws:asset:is-bundled": false, 508 "aws:asset:property": "Code" 509 } 510 }, 511 "CDKMetadata": { 512 "Type": "AWS::CDK::Metadata", 513 "Properties": { 514 "Analytics": "v2:deflate64:H4sIAAAAAAAA/1WQ3U4DIRCFn8V7dupaY7zUNvHWZusLzAI2dBcwzGDTEN5dYHVTr+abH87MoYfUP/Rwf/eCF+qkmjbSBw3pyCgnsfeOOETJYv/p3iN/xUYHDGg161CTQZOPQerKZV4ZNt5l0W8fb1VThaSuDq1XI6QPHOf2pEEWM9pRIaS36GQVqK2Vj8adZs1+rWRh0EIa/KLR4sHPRl7beY2yoG2HRJoJXmsoOeyinDTvkMrKxeh6fpsptk9l2a3xSOztrck/Lgqt14XfQtlzof/zOQvnlYYzbb77J3guX3ImY7oQHRurYVjiD3i7GnGGAQAA" 515 }, 516 "Metadata": { 517 "aws:cdk:path": "TSABotStack/CDKMetadata/Default" 518 }, 519 "Condition": "CDKMetadataAvailable" 520 } 521 }, 522 "Outputs": { 523 "TSABotDDBTabletsaimagesARN7752C4BC": { 524 "Description": "DynamoDB Table ARN", 525 "Value": { 526 "Fn::GetAtt": [ 527 "TSABottsaimagesddbC2B583E6", 528 "Arn" 529 ] 530 }, 531 "Export": { 532 "Name": "DDBTabletsaimagesARN" 533 } 534 }, 535 "TSABotDDBTableFlightsARN68F3ADDE": { 536 "Description": "DynamoDB Table ARN", 537 "Value": { 538 "Fn::GetAtt": [ 539 "TSABotFlightsddb5DA000DB", 540 "Arn" 541 ] 542 }, 543 "Export": { 544 "Name": "DDBTableFlightsARN" 545 } 546 } 547 }, 548 "Parameters": { 549 "AssetParameters34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22S3Bucket0C9B2C82": { 550 "Type": "String", 551 "Description": "S3 bucket for asset \"34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22\"" 552 }, 553 "AssetParameters34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22S3VersionKey0B5D313C": { 554 "Type": "String", 555 "Description": "S3 key for asset version \"34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22\"" 556 }, 557 "AssetParameters34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22ArtifactHash77FAB7E6": { 558 "Type": "String", 559 "Description": "Artifact hash for asset \"34e613cbed9fe6d92140a799a0714c454ff967fe816d79cb9e5cef24fdb8ad22\"" 560 }, 561 "AssetParameters11d371859e49f3b1a49896583254890801a40beada56e4c84409a179a221e2e2S3Bucket04AFB68D": { 562 "Type": "String", 563 "Description": "S3 bucket for asset \"11d371859e49f3b1a49896583254890801a40beada56e4c84409a179a221e2e2\"" 564 }, 565 "AssetParameters11d371859e49f3b1a49896583254890801a40beada56e4c84409a179a221e2e2S3VersionKeyC247374B": { 566 "Type": "String", 567 "Description": "S3 key for asset version \"11d371859e49f3b1a49896583254890801a40beada56e4c84409a179a221e2e2\"" 568 }, 569 "AssetParameters11d371859e49f3b1a49896583254890801a40beada56e4c84409a179a221e2e2ArtifactHashF319B5BD": { 570 "Type": "String", 571 "Description": "Artifact hash for asset \"11d371859e49f3b1a49896583254890801a40beada56e4c84409a179a221e2e2\"" 572 } 573 }, 574 "Conditions": { 575 "CDKMetadataAvailable": { 576 "Fn::Or": [ 577 { 578 "Fn::Or": [ 579 { 580 "Fn::Equals": [ 581 { 582 "Ref": "AWS::Region" 583 }, 584 "af-south-1" 585 ] 586 }, 587 { 588 "Fn::Equals": [ 589 { 590 "Ref": "AWS::Region" 591 }, 592 "ap-east-1" 593 ] 594 }, 595 { 596 "Fn::Equals": [ 597 { 598 "Ref": "AWS::Region" 599 }, 600 "ap-northeast-1" 601 ] 602 }, 603 { 604 "Fn::Equals": [ 605 { 606 "Ref": "AWS::Region" 607 }, 608 "ap-northeast-2" 609 ] 610 }, 611 { 612 "Fn::Equals": [ 613 { 614 "Ref": "AWS::Region" 615 }, 616 "ap-south-1" 617 ] 618 }, 619 { 620 "Fn::Equals": [ 621 { 622 "Ref": "AWS::Region" 623 }, 624 "ap-southeast-1" 625 ] 626 }, 627 { 628 "Fn::Equals": [ 629 { 630 "Ref": "AWS::Region" 631 }, 632 "ap-southeast-2" 633 ] 634 }, 635 { 636 "Fn::Equals": [ 637 { 638 "Ref": "AWS::Region" 639 }, 640 "ca-central-1" 641 ] 642 }, 643 { 644 "Fn::Equals": [ 645 { 646 "Ref": "AWS::Region" 647 }, 648 "cn-north-1" 649 ] 650 }, 651 { 652 "Fn::Equals": [ 653 { 654 "Ref": "AWS::Region" 655 }, 656 "cn-northwest-1" 657 ] 658 } 659 ] 660 }, 661 { 662 "Fn::Or": [ 663 { 664 "Fn::Equals": [ 665 { 666 "Ref": "AWS::Region" 667 }, 668 "eu-central-1" 669 ] 670 }, 671 { 672 "Fn::Equals": [ 673 { 674 "Ref": "AWS::Region" 675 }, 676 "eu-north-1" 677 ] 678 }, 679 { 680 "Fn::Equals": [ 681 { 682 "Ref": "AWS::Region" 683 }, 684 "eu-south-1" 685 ] 686 }, 687 { 688 "Fn::Equals": [ 689 { 690 "Ref": "AWS::Region" 691 }, 692 "eu-west-1" 693 ] 694 }, 695 { 696 "Fn::Equals": [ 697 { 698 "Ref": "AWS::Region" 699 }, 700 "eu-west-2" 701 ] 702 }, 703 { 704 "Fn::Equals": [ 705 { 706 "Ref": "AWS::Region" 707 }, 708 "eu-west-3" 709 ] 710 }, 711 { 712 "Fn::Equals": [ 713 { 714 "Ref": "AWS::Region" 715 }, 716 "me-south-1" 717 ] 718 }, 719 { 720 "Fn::Equals": [ 721 { 722 "Ref": "AWS::Region" 723 }, 724 "sa-east-1" 725 ] 726 }, 727 { 728 "Fn::Equals": [ 729 { 730 "Ref": "AWS::Region" 731 }, 732 "us-east-1" 733 ] 734 }, 735 { 736 "Fn::Equals": [ 737 { 738 "Ref": "AWS::Region" 739 }, 740 "us-east-2" 741 ] 742 } 743 ] 744 }, 745 { 746 "Fn::Or": [ 747 { 748 "Fn::Equals": [ 749 { 750 "Ref": "AWS::Region" 751 }, 752 "us-west-1" 753 ] 754 }, 755 { 756 "Fn::Equals": [ 757 { 758 "Ref": "AWS::Region" 759 }, 760 "us-west-2" 761 ] 762 } 763 ] 764 } 765 ] 766 } 767 } 768 }