AWS CLI with YAML

YAML parameters for AWS CLI

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to AWS_CLI.
execute_commands
Required
String[]The commands that will be executed.
region
Required
StringThe Amazon region.
integration_id
Required
IntegerThe ID of the integration.

YAML example for AWS CLI

- action: "Run AWS command"
type: "AWS_CLI"
trigger_time: "ON_EVERY_EXECUTION"
execute_commands:
- "aws lambda list-functions"
region: "us-west-2"
integration_id: 1