Skip to content

Commit

Permalink
fix two more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Aug 30, 2023
1 parent e66828d commit 640b750
Show file tree
Hide file tree
Showing 18 changed files with 151 additions and 85 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,28 @@
}
}
},
"3118657de64b062f7bd2b96d7c96725784b665b558af95ccd6f53b593b67d2e8": {
"66db480cb40e7e6208f01c9d9e882f4c416110a2c66dd0c6d12844e8ca9129b6": {
"source": {
"path": "asset.3118657de64b062f7bd2b96d7c96725784b665b558af95ccd6f53b593b67d2e8",
"path": "asset.66db480cb40e7e6208f01c9d9e882f4c416110a2c66dd0c6d12844e8ca9129b6",
"packaging": "zip"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "3118657de64b062f7bd2b96d7c96725784b665b558af95ccd6f53b593b67d2e8.zip",
"objectKey": "66db480cb40e7e6208f01c9d9e882f4c416110a2c66dd0c6d12844e8ca9129b6.zip",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
},
"719b671eff0ee56bfa49e8e39c6c91af173f8a43478efda5982e6f7fce1fe07e": {
"2cd8ce7e0cb4fc1ece50911da3fc91f702ed34a1028f0727fa4d3b1c8f3d8c2a": {
"source": {
"path": "cdk-s3-bucket-auto-delete-objects.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "719b671eff0ee56bfa49e8e39c6c91af173f8a43478efda5982e6f7fce1fe07e.json",
"objectKey": "2cd8ce7e0cb4fc1ece50911da3fc91f702ed34a1028f0727fa4d3b1c8f3d8c2a.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "3118657de64b062f7bd2b96d7c96725784b665b558af95ccd6f53b593b67d2e8.zip"
"S3Key": "66db480cb40e7e6208f01c9d9e882f4c416110a2c66dd0c6d12844e8ca9129b6.zip"
},
"Handler": "index.handler",
"Role": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"validateOnSynth": false,
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/719b671eff0ee56bfa49e8e39c6c91af173f8a43478efda5982e6f7fce1fe07e.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/2cd8ce7e0cb4fc1ece50911da3fc91f702ed34a1028f0727fa4d3b1c8f3d8c2a.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@
"s3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"s3Key": "3118657de64b062f7bd2b96d7c96725784b665b558af95ccd6f53b593b67d2e8.zip"
"s3Key": "66db480cb40e7e6208f01c9d9e882f4c416110a2c66dd0c6d12844e8ca9129b6.zip"
},
"handler": "index.handler",
"role": {
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export declare function handler(event: AWSLambda.SESEvent): Promise<{
disposition: string;
} | null>;

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "20.0.0",
"version": "34.0.0",
"files": {
"96d0b6be9a64ae309bf89a86f5515453f0fa1d07b4f6b37198051cc98e251f34": {
"source": {
Expand All @@ -14,15 +14,15 @@
}
}
},
"ee744103b0ff86d6e8eaedb70b7771744a9a7e81060c30a8a8a4fc3f64a4fb7a": {
"450d5204be2a4f7a117b43ba73581552278e7566aff870b400dc59dfcc33b478": {
"source": {
"path": "aws-cdk-ses-receipt.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "ee744103b0ff86d6e8eaedb70b7771744a9a7e81060c30a8a8a4fc3f64a4fb7a.json",
"objectKey": "450d5204be2a4f7a117b43ba73581552278e7566aff870b400dc59dfcc33b478.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@
"Code": {
"ZipFile": "exports.handler = async (event) => event;"
},
"Handler": "index.handler",
"Role": {
"Fn::GetAtt": [
"FunctionServiceRole675BB04A",
"Arn"
]
},
"Handler": "index.handler",
"Runtime": "nodejs14.x"
"Runtime": "nodejs16.x"
},
"DependsOn": [
"FunctionServiceRole675BB04A"
Expand Down Expand Up @@ -203,6 +203,9 @@
"RuleSetFirstRule0A27C8CC": {
"Type": "AWS::SES::ReceiptRule",
"Properties": {
"After": {
"Ref": "RuleSetDropSpamRule5809F51B"
},
"Rule": {
"Actions": [
{
Expand Down Expand Up @@ -272,9 +275,6 @@
},
"RuleSetName": {
"Ref": "RuleSetE30C6C48"
},
"After": {
"Ref": "RuleSetDropSpamRule5809F51B"
}
},
"DependsOn": [
Expand All @@ -285,6 +285,9 @@
"RuleSetSecondRule03178AD4": {
"Type": "AWS::SES::ReceiptRule",
"Properties": {
"After": {
"Ref": "RuleSetFirstRule0A27C8CC"
},
"Rule": {
"Actions": [
{
Expand All @@ -300,9 +303,6 @@
},
"RuleSetName": {
"Ref": "RuleSetE30C6C48"
},
"After": {
"Ref": "RuleSetFirstRule0A27C8CC"
}
}
},
Expand Down Expand Up @@ -346,14 +346,14 @@
},
"S3Key": "96d0b6be9a64ae309bf89a86f5515453f0fa1d07b4f6b37198051cc98e251f34.zip"
},
"Handler": "index.handler",
"Role": {
"Fn::GetAtt": [
"SingletonLambda224e77f9a32e4b4dac32983477abba16ServiceRole3037F5B4",
"Arn"
]
},
"Handler": "index.handler",
"Runtime": "nodejs14.x"
"Runtime": "nodejs18.x"
},
"DependsOn": [
"SingletonLambda224e77f9a32e4b4dac32983477abba16ServiceRole3037F5B4"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"20.0.0"}
{"version":"34.0.0"}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "20.0.0",
"version": "34.0.0",
"testCases": {
"integ.actions": {
"stacks": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"version": "20.0.0",
"version": "34.0.0",
"artifacts": {
"Tree": {
"type": "cdk:tree",
"properties": {
"file": "tree.json"
}
},
"aws-cdk-ses-receipt.assets": {
"type": "cdk:asset-manifest",
"properties": {
Expand All @@ -23,7 +17,7 @@
"validateOnSynth": false,
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/ee744103b0ff86d6e8eaedb70b7771744a9a7e81060c30a8a8a4fc3f64a4fb7a.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/450d5204be2a4f7a117b43ba73581552278e7566aff870b400dc59dfcc33b478.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down Expand Up @@ -137,6 +131,12 @@
]
},
"displayName": "aws-cdk-ses-receipt"
},
"Tree": {
"type": "cdk:tree",
"properties": {
"file": "tree.json"
}
}
}
}
Loading

0 comments on commit 640b750

Please sign in to comment.