Closed aBurmeseDev closed 2 weeks ago
P86025848
Service team member responded for anyone that comes across this:
If the customer is creating a subscription filter with Lambda, they will not be having roleArn in the response of describeSubscriptionFilters API. This is because when you use a subscription filter with lambda, you dont provide roleArn.
aws logs put-subscription-filter \ --log-group-name myLogGroup \ --filter-name demo \ --filter-pattern "" \ --destination-arn arn:aws:lambda:region:123456789123:function:helloworld
Documentation: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html#LambdaFunctionExample
Moreover, the rolearn parameter is optional in the response. https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_SubscriptionFilter.html
This issue is now closed.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Originally reported: https://github.com/boto/boto3/issues/3668