Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Log Group creation and subscription
"Func01LogGroup": {
"Type": "AWS::Logs::LogGroup",
"Properties": {
"LogGroupName": {
"Fn::Sub": [
"/aws/Lambda/${LambdaName}",
{
"LambdaName": {
"Ref": "Func01Name"
}
}
]
}
}
},
"Func01SubscriptionFilter": {
"Type": "AWS::Logs::SubscriptionFilter",
"Properties": {
"LogGroupName": {
"Ref": "Func01LogGroup"
},
"DestinationArn": {
"Fn::GetAtt": [
"ShippingLogsLambda",
"Arn"
]
},
"FilterPattern": ""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment