Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kob-aha/60fe36c103581ade6701555d658622aa to your computer and use it in GitHub Desktop.
Save kob-aha/60fe36c103581ade6701555d658622aa to your computer and use it in GitHub Desktop.
SSM Document for attaching extension to a Lambda function and enable fault injection - Parameters Part
parameters:
FunctionName:
type: "String"
description: "The name of the lambda function to add the layer"
LayerArn:
type: "String"
description: "The ARN of the layer to add to the lambda function"
AliasName:
type: "String"
description: "(Optional) The name of the lambda alias needs to be updated."
default: ""
AutomationAssumeRole:
type: "String"
description: "The ARN of the role that allows Automation to perform the actions on your behalf."
ChaosMode:
type: "String"
description: "(Optional) Whether we want to enable or disable chaos. (ENABLED (default) or DISABLED)."
allowedValues: [
"ENABLED",
"DISABLED"
]
default: "ENABLED"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment