AWS Elastic Beanstalk Monitoring with YAML

YAML parameters for AWS EB Monitoring

NameTypeDescription
application_name
Required
StringThe name of the application.
environment
Required
StringThe Amazon environment.
region
Required
StringThe Amazon region.
integration_id
Required
IntegerThe ID of the integration.
name
Required
StringThe name of the action.
region
Required
StringThe name of the Amazon region. The full list of regions is available here.
trigger_time
Required
StringSpecifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
type
Required
StringThe type of the action. Should be set to MONITOR.
fail_on_yellowBooleanDefines whether or not the action should be marked as failed when Amazon returns ‘yellow’ health status.
verboseBooleanDefines whether or not to show verbose logs.
wait_if_greyIntegerThe maximum time (in minutes) to wait while the application health is ‘grey’.
trigger_conditionStringDefines when the build action should be run. Can be one of ALWAYS, ON_CHANGE, ON_CHANGE_AT_PATH, VAR_IS, VAR_IS_NOT or VAR_CONTAINS.
trigger_condition_pathsString[]Required when trigger_condition is set to ON_CHANGE_AT_PATH.
trigger_variable_keyStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the name of the desired variable.
trigger_variable_valueStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the value of the desired variable which will be compared with its current value.
disabledBooleanWhen set to true the action is disabled. By default it is set to false.

YAML example for AWS EB Monitoring

actions:
- action: "Monitor Elastic Beanstalk/tests"
type: "MONITOR"
input_type: "SCM_REPOSITORY"
trigger_time: "ON_EVERY_EXECUTION"
local_path: "/"
application_name: "MyApp"
environment: "MyEnv"
region: "us-west-2"
integration_id: 1
fail_on_yellow: true
verbose: false
wait_if_grey: 5