Skip to content

Commit

Permalink
fix: generate integ snapshot again
Browse files Browse the repository at this point in the history
  • Loading branch information
dali546 committed Apr 30, 2024
1 parent 5a65cfc commit 30f05bd
Show file tree
Hide file tree
Showing 5 changed files with 167 additions and 3 deletions.

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

Expand Up @@ -393,6 +393,61 @@
"DependsOn": [
"LambdaWithLogLevelServiceRole90A45743"
]
},
"LambdaWithLogLevelV2ServiceRoleD184382A": {
"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"
]
]
}
]
}
},
"LambdaWithLogLevelV2D4FB10AC": {
"Type": "AWS::Lambda::Function",
"Properties": {
"Code": {
"ZipFile": "foo"
},
"Handler": "index.handler",
"LoggingConfig": {
"ApplicationLogLevel": "INFO",
"LogFormat": "JSON",
"SystemLogLevel": "INFO"
},
"Role": {
"Fn::GetAtt": [
"LambdaWithLogLevelV2ServiceRoleD184382A",
"Arn"
]
},
"Runtime": "nodejs18.x"
},
"DependsOn": [
"LambdaWithLogLevelV2ServiceRoleD184382A"
]
}
},
"Parameters": {
Expand Down

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

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

1 change: 1 addition & 0 deletions packages/aws-cdk-lib/aws-lambda/lib/function.ts
Expand Up @@ -524,6 +524,7 @@ export interface FunctionOptions extends EventInvokeConfigOptions {

/**
* Sets the logFormat for the function.
* @deprecated Use `loggingFormat` as a property instead.
* @default "Text"
*/
readonly logFormat?: string;
Expand Down

0 comments on commit 30f05bd

Please sign in to comment.