paws.management (version 0.1.0)

cloudwatchevents: Amazon CloudWatch Events

Description

Amazon CloudWatch Events helps you to respond to state changes in your AWS resources. When your resources change state, they automatically send events into an event stream. You can create rules that match selected events in the stream and route them to targets to take action. You can also use rules to take action on a predetermined schedule. For example, you can configure rules to:

  • Automatically invoke an AWS Lambda function to update DNS entries when an event notifies you that Amazon EC2 instance enters the running state.

  • Direct specific API records from AWS CloudTrail to an Amazon Kinesis data stream for detailed analysis of potential security or availability risks.

  • Periodically invoke a built-in target to create a snapshot of an Amazon EBS volume.

For more information about the features of Amazon CloudWatch Events, see the Amazon CloudWatch Events User Guide.

Usage

cloudwatchevents()

Arguments

Operations

delete_rule Deletes the specified rule
describe_event_bus Displays the external AWS accounts that are permitted to write events to your account using your account's event bus, and the associated policy
describe_rule Describes the specified rule
disable_rule Disables the specified rule
enable_rule Enables the specified rule
list_rule_names_by_target Lists the rules for the specified target
list_rules Lists your Amazon CloudWatch Events rules
list_tags_for_resource Displays the tags associated with a CloudWatch Events resource
list_targets_by_rule Lists the targets assigned to the specified rule
put_events Sends custom events to Amazon CloudWatch Events so that they can be matched to rules
put_permission Running PutPermission permits the specified AWS account or AWS organization to put events to your account's default event bus
put_rule Creates or updates the specified rule
put_targets Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule
remove_permission Revokes the permission of another AWS account to be able to put events to your default event bus
remove_targets Removes the specified targets from the specified rule
tag_resource Assigns one or more tags (key-value pairs) to the specified CloudWatch Events resource
test_event_pattern Tests whether the specified event pattern matches the provided event

Examples

Run this code
# NOT RUN {
svc <- cloudwatchevents()
svc$delete_rule(
  Foo = 123
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace