-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update test snapshot now that it passes
- Loading branch information
Showing
9 changed files
with
1,708 additions
and
0 deletions.
There are no files selected for viewing
767 changes: 767 additions & 0 deletions
767
...ot/asset.3074b79e05e7b98930b6449e01baa3e68b32ecff86328933c2542f7b7fe6fdac.bundle/index.js
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
packages/@aws-cdk/aws-lambda-python/test/function.arm64.integ.snapshot/cdk.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"version":"21.0.0"} |
45 changes: 45 additions & 0 deletions
45
...ws-lambda-python/test/function.arm64.integ.snapshot/integ-lambda-python-arm64.assets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"version": "21.0.0", | ||
"files": { | ||
"8c04935671db7da18580bb01371198f54ead836061bcbac6b8bab4c2e4d1cf35": { | ||
"source": { | ||
"path": "asset.8c04935671db7da18580bb01371198f54ead836061bcbac6b8bab4c2e4d1cf35", | ||
"packaging": "zip" | ||
}, | ||
"destinations": { | ||
"current_account-current_region": { | ||
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", | ||
"objectKey": "8c04935671db7da18580bb01371198f54ead836061bcbac6b8bab4c2e4d1cf35.zip", | ||
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" | ||
} | ||
} | ||
}, | ||
"db453ad95b1e0fd185aa7ea88192ad521ced57f7bd163bcd0f002f20b441e424": { | ||
"source": { | ||
"path": "asset.db453ad95b1e0fd185aa7ea88192ad521ced57f7bd163bcd0f002f20b441e424", | ||
"packaging": "zip" | ||
}, | ||
"destinations": { | ||
"current_account-current_region": { | ||
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", | ||
"objectKey": "db453ad95b1e0fd185aa7ea88192ad521ced57f7bd163bcd0f002f20b441e424.zip", | ||
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" | ||
} | ||
} | ||
}, | ||
"d541f2115f9333bde1ef9d780fe0176c421e684cc754401b5de78b9a1d133b62": { | ||
"source": { | ||
"path": "integ-lambda-python-arm64.template.json", | ||
"packaging": "file" | ||
}, | ||
"destinations": { | ||
"current_account-current_region": { | ||
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", | ||
"objectKey": "d541f2115f9333bde1ef9d780fe0176c421e684cc754401b5de78b9a1d133b62.json", | ||
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" | ||
} | ||
} | ||
} | ||
}, | ||
"dockerImages": {} | ||
} |
134 changes: 134 additions & 0 deletions
134
...-lambda-python/test/function.arm64.integ.snapshot/integ-lambda-python-arm64.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
{ | ||
"Resources": { | ||
"LayerB20D2F06": { | ||
"Type": "AWS::Lambda::LayerVersion", | ||
"Properties": { | ||
"Content": { | ||
"S3Bucket": { | ||
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" | ||
}, | ||
"S3Key": "8c04935671db7da18580bb01371198f54ead836061bcbac6b8bab4c2e4d1cf35.zip" | ||
}, | ||
"CompatibleArchitectures": [ | ||
"arm64" | ||
], | ||
"CompatibleRuntimes": [ | ||
"python3.9" | ||
] | ||
} | ||
}, | ||
"HandlerServiceRoleFCDC14AE": { | ||
"Type": "AWS::IAM::Role", | ||
"Properties": { | ||
"AssumeRolePolicyDocument": { | ||
"Statement": [ | ||
{ | ||
"Action": "sts:AssumeRole", | ||
"Effect": "Allow", | ||
"Principal": { | ||
"Service": "lambda.amazonaws.com" | ||
} | ||
} | ||
], | ||
"Version": "2012-10-17" | ||
}, | ||
"ManagedPolicyArns": [ | ||
{ | ||
"Fn::Join": [ | ||
"", | ||
[ | ||
"arn:", | ||
{ | ||
"Ref": "AWS::Partition" | ||
}, | ||
":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" | ||
] | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"Handler886CB40B": { | ||
"Type": "AWS::Lambda::Function", | ||
"Properties": { | ||
"Code": { | ||
"S3Bucket": { | ||
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}" | ||
}, | ||
"S3Key": "db453ad95b1e0fd185aa7ea88192ad521ced57f7bd163bcd0f002f20b441e424.zip" | ||
}, | ||
"Role": { | ||
"Fn::GetAtt": [ | ||
"HandlerServiceRoleFCDC14AE", | ||
"Arn" | ||
] | ||
}, | ||
"Architectures": [ | ||
"arm64" | ||
], | ||
"Handler": "index.handler", | ||
"Layers": [ | ||
{ | ||
"Ref": "LayerB20D2F06" | ||
} | ||
], | ||
"Runtime": "python3.9" | ||
}, | ||
"DependsOn": [ | ||
"HandlerServiceRoleFCDC14AE" | ||
] | ||
} | ||
}, | ||
"Outputs": { | ||
"FunctionArn": { | ||
"Value": { | ||
"Fn::GetAtt": [ | ||
"Handler886CB40B", | ||
"Arn" | ||
] | ||
} | ||
}, | ||
"ExportsOutputRefHandler886CB40BD176DC16": { | ||
"Value": { | ||
"Ref": "Handler886CB40B" | ||
}, | ||
"Export": { | ||
"Name": "integ-lambda-python-arm64:ExportsOutputRefHandler886CB40BD176DC16" | ||
} | ||
} | ||
}, | ||
"Parameters": { | ||
"BootstrapVersion": { | ||
"Type": "AWS::SSM::Parameter::Value<String>", | ||
"Default": "/cdk-bootstrap/hnb659fds/version", | ||
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]" | ||
} | ||
}, | ||
"Rules": { | ||
"CheckBootstrapVersion": { | ||
"Assertions": [ | ||
{ | ||
"Assert": { | ||
"Fn::Not": [ | ||
{ | ||
"Fn::Contains": [ | ||
[ | ||
"1", | ||
"2", | ||
"3", | ||
"4", | ||
"5" | ||
], | ||
{ | ||
"Ref": "BootstrapVersion" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI." | ||
} | ||
] | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
packages/@aws-cdk/aws-lambda-python/test/function.arm64.integ.snapshot/integ.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"version": "21.0.0", | ||
"testCases": { | ||
"lambda-python-arm64/DefaultTest": { | ||
"stacks": [ | ||
"integ-lambda-python-arm64" | ||
], | ||
"stackUpdateWorkflow": false, | ||
"assertionStack": "lambda-python-arm64/DefaultTest/DeployAssert", | ||
"assertionStackName": "lambdapythonarm64DefaultTestDeployAssertAB537F34" | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...unction.arm64.integ.snapshot/lambdapythonarm64DefaultTestDeployAssertAB537F34.assets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"version": "21.0.0", | ||
"files": { | ||
"3074b79e05e7b98930b6449e01baa3e68b32ecff86328933c2542f7b7fe6fdac": { | ||
"source": { | ||
"path": "asset.3074b79e05e7b98930b6449e01baa3e68b32ecff86328933c2542f7b7fe6fdac.bundle", | ||
"packaging": "zip" | ||
}, | ||
"destinations": { | ||
"current_account-current_region": { | ||
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", | ||
"objectKey": "3074b79e05e7b98930b6449e01baa3e68b32ecff86328933c2542f7b7fe6fdac.zip", | ||
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" | ||
} | ||
} | ||
}, | ||
"42975a3b062a8d0733fa13d5857f7aee684ba7fdbf7b4518fd0f50e039bdf92f": { | ||
"source": { | ||
"path": "lambdapythonarm64DefaultTestDeployAssertAB537F34.template.json", | ||
"packaging": "file" | ||
}, | ||
"destinations": { | ||
"current_account-current_region": { | ||
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}", | ||
"objectKey": "42975a3b062a8d0733fa13d5857f7aee684ba7fdbf7b4518fd0f50e039bdf92f.json", | ||
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}" | ||
} | ||
} | ||
} | ||
}, | ||
"dockerImages": {} | ||
} |
Oops, something went wrong.