|
825 | 825 | }
|
826 | 826 | },
|
827 | 827 | "tests/aws/services/cloudformation/resources/test_lambda.py::TestCfnLambdaIntegrations::test_cfn_lambda_dynamodb_source": {
|
828 |
| - "recorded-date": "09-04-2024, 07:34:20", |
| 828 | + "recorded-date": "12-10-2024, 10:46:17", |
829 | 829 | "recorded-content": {
|
830 | 830 | "stack_resources": {
|
831 | 831 | "StackResources": [
|
|
846 | 846 | "StackResourceDriftStatus": "NOT_CHECKED"
|
847 | 847 | },
|
848 | 848 | "LogicalResourceId": "fnDynamoDBEventSourceLambdaDynamodbSourceStacktable153BBA79064FDF1D",
|
849 |
| - "PhysicalResourceId": "<uuid:1>", |
| 849 | + "PhysicalResourceId": "<resource:6>", |
850 | 850 | "ResourceStatus": "CREATE_COMPLETE",
|
851 | 851 | "ResourceType": "AWS::Lambda::EventSourceMapping",
|
852 | 852 | "StackId": "arn:<partition>:cloudformation:<region>:111111111111:stack/<stack-name:1>/<resource:1>",
|
|
882 | 882 | "StackResourceDriftStatus": "NOT_CHECKED"
|
883 | 883 | },
|
884 | 884 | "LogicalResourceId": "table8235A42E",
|
885 |
| - "PhysicalResourceId": "<resource:6>", |
| 885 | + "PhysicalResourceId": "<resource:7>", |
886 | 886 | "ResourceStatus": "CREATE_COMPLETE",
|
887 | 887 | "ResourceType": "AWS::DynamoDB::Table",
|
888 | 888 | "StackId": "arn:<partition>:cloudformation:<region>:111111111111:stack/<stack-name:1>/<resource:1>",
|
|
912 | 912 | "dynamodb:GetShardIterator"
|
913 | 913 | ],
|
914 | 914 | "Effect": "Allow",
|
915 |
| - "Resource": "arn:<partition>:dynamodb:<region>:111111111111:table/<resource:6>/stream/<resource:2>" |
| 915 | + "Resource": "arn:<partition>:dynamodb:<region>:111111111111:table/<resource:7>/stream/<resource:2>" |
916 | 916 | }
|
917 | 917 | ],
|
918 | 918 | "Version": "2012-10-17"
|
|
949 | 949 | },
|
950 | 950 | "MemorySize": 128,
|
951 | 951 | "PackageType": "Zip",
|
952 |
| - "RevisionId": "<uuid:2>", |
| 952 | + "RevisionId": "<uuid:1>", |
953 | 953 | "Role": "arn:<partition>:iam::111111111111:role/<resource:4>",
|
954 | 954 | "Runtime": "python3.9",
|
955 | 955 | "RuntimeVersionConfig": {
|
|
982 | 982 | "DestinationConfig": {
|
983 | 983 | "OnFailure": {}
|
984 | 984 | },
|
985 |
| - "EventSourceArn": "arn:<partition>:dynamodb:<region>:111111111111:table/<resource:6>/stream/<resource:2>", |
| 985 | + "EventSourceArn": "arn:<partition>:dynamodb:<region>:111111111111:table/<resource:7>/stream/<resource:2>", |
| 986 | + "EventSourceMappingArn": "arn:<partition>:lambda:<region>:111111111111:event-source-mapping:<resource:6>", |
986 | 987 | "FunctionArn": "arn:<partition>:lambda:<region>:111111111111:function:<resource:3>",
|
987 | 988 | "FunctionResponseTypes": [],
|
988 | 989 | "LastModified": "datetime",
|
|
995 | 996 | "State": "Enabled",
|
996 | 997 | "StateTransitionReason": "User action",
|
997 | 998 | "TumblingWindowInSeconds": 0,
|
998 |
| -
B41A
"UUID": "<uuid:1>", |
| 999 | + "UUID": "<resource:6>", |
999 | 1000 | "ResponseMetadata": {
|
1000 | 1001 | "HTTPHeaders": {},
|
1001 | 1002 | "HTTPStatusCode": 200
|
|
1018 | 1019 | "KeyType": "HASH"
|
1019 | 1020 | }
|
1020 | 1021 | ],
|
1021 |
| - "LatestStreamArn": "arn:<partition>:dynamodb:<region>:111111111111:table/<resource:6>/stream/<resource:2>", |
| 1022 | + "LatestStreamArn": "arn:<partition>:dynamodb:<region>:111111111111:table/<resource:7>/stream/<resource:2>", |
1022 | 1023 | "LatestStreamLabel": "<resource:2>",
|
1023 | 1024 | "ProvisionedThroughput": {
|
1024 | 1025 | "NumberOfDecreasesToday": 0,
|
|
1029 | 1030 | "StreamEnabled": true,
|
1030 | 1031 | "StreamViewType": "NEW_AND_OLD_IMAGES"
|
1031 | 1032 | },
|
1032 |
| - "TableArn": "arn:<partition>:dynamodb:<region>:111111111111:table/<resource:6>", |
1033 |
| - "TableId": "<uuid:3>", |
1034 |
| - "TableName": "<resource:6>", |
| 1033 | + "TableArn": "arn:<partition>:dynamodb:<region>:111111111111:table/<resource:7>", |
| 1034 | + "TableId": "<uuid:2>", |
| 1035 | + "TableName": "<resource:7>", |
1035 | 1036 | "TableSizeBytes": 0,
|
1036 | 1037 | "TableStatus": "ACTIVE"
|
1037 | 1038 | },
|
|
1057 | 1058 | "ShardId": "shard-id"
|
1058 | 1059 | }
|
1059 | 1060 | ],
|
1060 |
| - "StreamArn": "arn:<partition>:dynamodb:<region>:111111111111:table/<resource:6>/stream/<resource:2>", |
| 1061 | + "StreamArn": "arn:<partition>:dynamodb:<region>:111111111111:table/<resource:7>/stream/<resource:2>", |
1061 | 1062 | "StreamLabel": "<resource:2>",
|
1062 | 1063 | "StreamStatus": "ENABLED",
|
1063 | 1064 | "StreamViewType": "NEW_AND_OLD_IMAGES",
|
1064 |
| - "TableName": "<resource:6>" |
| 1065 | + "TableName": "<resource:7>" |
1065 | 1066 | },
|
1066 | 1067 | "ResponseMetadata": {
|
1067 | 1068 | "HTTPHeaders": {},
|
|
1122 | 1123 | }
|
1123 | 1124 | },
|
1124 | 1125 | "tests/aws/services/cloudformation/resources/test_lambda.py::TestCfnLambdaIntegrations::test_cfn_lambda_kinesis_source": {
|
1125 |
| - "recorded-date": "09-04-2024, 07:37:55", |
| 1126 | + "recorded-date": "12-10-2024, 10:52:28", |
1126 | 1127 | "recorded-content": {
|
1127 | 1128 | "stack_resources": {
|
1128 | 1129 | "StackResources": [
|
|
1143 | 1144 | "StackResourceDriftStatus": "NOT_CHECKED"
|
1144 | 1145 | },
|
1145 | 1146 | "LogicalResourceId": "fnKinesisEventSourceLambdaKinesisSourceStackstream996A3395ED86A30E",
|
1146 |
| - "PhysicalResourceId": "<uuid:1>", |
| 1147 | + "PhysicalResourceId": "<resource:6>", |
1147 | 1148 | "ResourceStatus": "CREATE_COMPLETE",
|
1148 | 1149 | "ResourceType": "AWS::Lambda::EventSourceMapping",
|
1149 | 1150 | "StackId": "arn:<partition>:cloudformation:<region>:111111111111:stack/<stack-name:1>/<resource:1>",
|
|
1250 | 1251 | },
|
1251 | 1252 | "MemorySize": 128,
|
1252 | 1253 | "PackageType": "Zip",
|
1253 |
| - "RevisionId": "<uuid:2>", |
| 1254 | + "RevisionId": "<uuid:1>", |
1254 | 1255 | "Role": "arn:<partition>:iam::111111111111:role/<resource:4>",
|
1255 | 1256 | "Runtime": "python3.9",
|
1256 | 1257 | "RuntimeVersionConfig": {
|
|
1284 | 1285 | "OnFailure": {}
|
1285 | 1286 | },
|
1286 | 1287 | "EventSourceArn": "arn:<partition>:kinesis:<region>:111111111111:stream/<resource:2>",
|
| 1288 | + "EventSourceMappingArn": "arn:<partition>:lambda:<region>:111111111111:event-source-mapping:<resource:6>", |
1287 | 1289 | "FunctionArn": "arn:<partition>:lambda:<region>:111111111111:function:<resource:3>",
|
1288 | 1290 | "FunctionResponseTypes": [],
|
1289 | 1291 | "LastModified": "datetime",
|
|
1296 | 1298 | "State": "Enabled",
|
1297 | 1299 | "StateTransitionReason": "User action",
|
1298 | 1300 | "TumblingWindowInSeconds": 0,
|
1299 |
| - "UUID": "<uuid:1>", |
| 1301 | + "UUID": "<resource:6>", |
1300 | 1302 | "ResponseMetadata": {
|
1301 | 1303 | "HTTPHeaders": {},
|
1302 | 1304 | "HTTPStatusCode": 200
|
|
1446 | 1448 | }
|
1447 | 1449 | },
|
1448 | 1450 | "tests/aws/services/cloudformation/resources/test_lambda.py::test_lambda_w_dynamodb_event_filter_update": {
|
1449 |
| - "recorded-date": "11-04-2024, 18:29:12", |
| 1451 | + "recorded-date": "12-10-2024, 10:42:00", |
1450 | 1452 | "recorded-content": {
|
1451 | 1453 | "source_mappings": {
|
1452 | 1454 | "EventSourceMappings": [
|
|
1457 | 1459 | "OnFailure": {}
|
1458 | 1460 | },
|
1459 | 1461 | "EventSourceArn": "arn:<partition>:dynamodb:<region>:111111111111:table/<table_name>/stream/<resource:1>",
|
| 1462 | + "EventSourceMappingArn": "arn:<partition>:lambda:<region>:111111111111:event-source-mapping:<resource:2>", |
1460 | 1463 | "FilterCriteria": {
|
1461 | 1464 | "Filters": [
|
1462 | 1465 | {
|
|
1468 | 1471 | }
|
1469 | 1472 | ]
|
1470 | 1473 | },
|
1471 |
| - "FunctionArn": "arn:<partition>:lambda:<region>:111111111111:function:<resource:2>", |
| 1474 | + "FunctionArn": "arn:<partition>:lambda:<region>:111111111111:function:<resource:3>", |
1472 | 1475 | "FunctionResponseTypes": [],
|
1473 | 1476 | "LastModified": "datetime",
|
1474 | 1477 | "LastProcessingResult": "No records processed",
|
|
1480 | 1483 | "State": "Enabled",
|
1481 | 1484 | "StateTransitionReason": "User action",
|
1482 | 1485 | "TumblingWindowInSeconds": 0,
|
1483 |
| - "UUID": "<uuid:1>" |
| 1486 | + "UUID": "<resource:2>" |
1484 | 1487 | }
|
1485 | 1488 | ],
|
1486 | 1489 | "ResponseMetadata": {
|
|
1497 | 1500 | "OnFailure": {}
|
1498 | 1501 | },
|
1499 | 1502 | "EventSourceArn": "arn:<partition>:dynamodb:<region>:111111111111:table/<table_name>/stream/<resource:1>",
|
| 1503 | + "EventSourceMappingArn": "arn:<partition>:lambda:<region>:111111111111:event-source-mapping:<resource:2>", |
1500 | 1504 | "FilterCriteria": {
|
1501 | 1505 | "Filters": [
|
1502 | 1506 | {
|
|
1508 | 1512 | }
|
1509 | 1513 | ]
|
1510 | 1514 | },
|
1511 |
| - "FunctionArn": "arn:<partition>:lambda:<region>:111111111111:function:<resource:2>", |
| 1515 | + "FunctionArn": "arn:<partition>:lambda:<region>:111111111111:function:<resource:3>", |
1512 | 1516 | "FunctionResponseTypes": [],
|
1513 | 1517 | "LastModified": "datetime",
|
1514 | 1518 | "LastProcessingResult": "No records processed",
|
|
1520 | 1524 | "State": "Enabled",
|
1521 | 1525 | "StateTransitionReason": "User action",
|
1522 | 1526 | "TumblingWindowInSeconds": 0,
|
1523 |
| - "UUID": "<uuid:1>" |
| 1527 | + "UUID": "<resource:2>" |
1524 | 1528 | }
|
1525 | 1529 | ],
|
1526 | 1530 | "ResponseMetadata": {
|
|
0 commit comments