On AWS secret creation I want to configure the secret to use a lambda function to rotate password, and pass the parameters for the rotation. In C# is
var response = client.RotateSecret(new RotateSecretRequest {
RotationLambdaARN = "arn:aws:lambda:us-west-2:123456789012:function:MyTestDatabaseRotationLambda",
RotationRules = new RotationRulesType { AutomaticallyAfterDays = 30 },
SecretId = "MyTestDatabaseSecret" });
How do I pass a payload/parameter to MyTestDatabaseRotationLambda? This is to use the same rotation function for all secret managers.