i created document in AWS SSM, that takes 4 inputs (AccountId, DetailType, resources, detail) and i create CW rule for ec2 stats check. i choose the target SSM automation t