aws events57 CLI commands available for Amazon EventBridge.
| Command | API Operation | Sample |
|---|---|---|
activate-event-sourceActivates a partner event source that has been deactivated. Once activated, your matching event bus will start receiving events from the event source. | ActivateEventSource | |
cancel-replayCancels the specified replay. | CancelReplay | |
create-api-destinationCreates an API destination, which is an HTTP invocation endpoint configured as a target for events. API destinations do not support private destinations, such as interface VPC endpoints. For more information, see API destinations in the EventBridge User Guide. | CreateApiDestination | |
create-archiveCreates an archive of events with the specified settings. When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are s | CreateArchive | |
create-connectionCreates a connection. A connection defines the authorization type and credentials to use for authorization with an API destination HTTP endpoint. For more information, see Connections for endpoint targets in the Amazon EventBridge User Guide. | CreateConnection | |
create-endpointCreates a global endpoint. Global endpoints improve your application's availability by making it regional-fault tolerant. To do this, you define a primary and secondary Region with event buses in each Region. You also create a Amazon RouteĀ 53 health check that will tell EventBridge to route events t | CreateEndpoint | |
create-event-busCreates a new event bus within your account. This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source. | CreateEventBus | |
create-partner-event-sourceCalled by an SaaS partner to create a partner event source. This operation is not used by Amazon Web Services customers. Each partner event source can be used by one Amazon Web Services account to create a matching partner event bus in that Amazon Web Services account. A SaaS partner must create one | CreatePartnerEventSource | |
deactivate-event-sourceYou can use this operation to temporarily stop receiving events from the specified partner event source. The matching event bus is not deleted. When you deactivate a partner event source, the source goes into PENDING state. If it remains in PENDING state for more than two weeks, it is deleted. To a | DeactivateEventSource | |
deauthorize-connectionRemoves all authorization parameters from the connection. This lets you remove the secret from the connection so you can reuse it without having to create a new connection. | DeauthorizeConnection | |
delete-api-destinationDeletes the specified API destination. | DeleteApiDestination | |
delete-archiveDeletes the specified archive. | DeleteArchive | |
delete-connectionDeletes a connection. | DeleteConnection | |
delete-endpointDelete an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide . | DeleteEndpoint | |
delete-event-busDeletes the specified custom event bus or partner event bus. All rules associated with this event bus need to be deleted. You can't delete your account's default event bus. | DeleteEventBus | |
delete-partner-event-sourceThis operation is used by SaaS partners to delete a partner event source. This operation is not used by Amazon Web Services customers. When you delete an event source, the status of the corresponding partner event bus in the Amazon Web Services customer account becomes DELETED. | DeletePartnerEventSource | |
delete-ruleDeletes the specified rule. Before you can delete the rule, you must remove all targets, using RemoveTargets. When you delete a rule, incoming events might continue to match to the deleted rule. Allow a short period of time for changes to take effect. If you call delete rule multiple times for the s | DeleteRule | |
describe-api-destinationRetrieves details about an API destination. | DescribeApiDestination | |
describe-archiveRetrieves details about an archive. | DescribeArchive | |
describe-connectionRetrieves details about a connection. | DescribeConnection | |
describe-endpointGet the information about an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide . | DescribeEndpoint | |
describe-event-busDisplays details about an event bus in your account. This can include the external Amazon Web Services accounts that are permitted to write events to your default event bus, and the associated policy. For custom event buses and partner event buses, it displays the name, ARN, policy, state, and creat | DescribeEventBus | |
describe-event-sourceThis operation lists details about a partner event source that is shared with your account. | DescribeEventSource | |
describe-partner-event-sourceAn SaaS partner can use this operation to list details about a partner event source that they have created. Amazon Web Services customers do not use this operation. Instead, Amazon Web Services customers can use DescribeEventSource to see details about a partner event source that is shared with them | DescribePartnerEventSource | |
describe-replayRetrieves details about a replay. Use DescribeReplay to determine the progress of a running replay. A replay processes events to replay based on the time in the event, and replays them using 1 minute intervals. If you use StartReplay and specify an EventStartTime and an EventEndTime that covers a 20 | DescribeReplay | |
describe-ruleDescribes the specified rule. DescribeRule does not list the targets of a rule. To see the targets associated with a rule, use ListTargetsByRule. | DescribeRule | |
disable-ruleDisables the specified rule. A disabled rule won't match any events, and won't self-trigger if it has a schedule expression. When you disable a rule, incoming events might continue to match to the disabled rule. Allow a short period of time for changes to take effect. | DisableRule | |
enable-ruleEnables the specified rule. If the rule does not exist, the operation fails. When you enable a rule, incoming events might not immediately start matching to a newly enabled rule. Allow a short period of time for changes to take effect. | EnableRule | |
list-api-destinationsRetrieves a list of API destination in the account in the current Region. | ListApiDestinations | |
list-archivesLists your archives. You can either list all the archives or you can provide a prefix to match to the archive names. Filter parameters are exclusive. | ListArchives | |
list-connectionsRetrieves a list of connections from the account. | ListConnections | |
list-endpointsList the global endpoints associated with this account. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide . | ListEndpoints | |
list-event-busesLists all the event buses in your account, including the default event bus, custom event buses, and partner event buses. | ListEventBuses | |
list-event-sourcesYou can use this to see all the partner event sources that have been shared with your Amazon Web Services account. For more information about partner event sources, see CreateEventBus. | ListEventSources | |
list-partner-event-source-accountsAn SaaS partner can use this operation to display the Amazon Web Services account ID that a particular partner event source name is associated with. This operation is not used by Amazon Web Services customers. | ListPartnerEventSourceAccounts | |
list-partner-event-sourcesAn SaaS partner can use this operation to list all the partner event source names that they have created. This operation is not used by Amazon Web Services customers. | ListPartnerEventSources | |
list-replaysLists your replays. You can either list all the replays or you can provide a prefix to match to the replay names. Filter parameters are exclusive. | ListReplays | |
list-rule-names-by-targetLists the rules for the specified target. You can see which of the rules in Amazon EventBridge can invoke a specific target in your account. The maximum number of results per page for requests is 100. | ListRuleNamesByTarget | |
list-rulesLists your Amazon EventBridge rules. You can either list all the rules or you can provide a prefix to match to the rule names. The maximum number of results per page for requests is 100. ListRules does not list the targets of a rule. To see the targets associated with a rule, use ListTargetsByRule. | ListRules | |
list-tags-for-resourceDisplays the tags associated with an EventBridge resource. In EventBridge, rules and event buses can be tagged. | ListTagsForResource | |
list-targets-by-ruleLists the targets assigned to the specified rule. The maximum number of results per page for requests is 100. | ListTargetsByRule | |
put-eventsSends custom events to Amazon EventBridge so that they can be matched to rules. You can batch multiple event entries into one request for efficiency. However, the total entry size must be less than 256KB. You can calculate the entry size before you send the events. For more information, see Calculat | PutEvents | |
put-partner-eventsThis is used by SaaS partners to write events to a customer's partner event bus. Amazon Web Services customers do not use this operation. For information on calculating event batch size, see Calculating EventBridge PutEvents event entry size in the EventBridge User Guide. | PutPartnerEvents | |
put-permissionRunning PutPermission permits the specified Amazon Web Services account or Amazon Web Services organization to put events to the specified event bus. Amazon EventBridge rules in your account are triggered by these events arriving to an event bus in your account. For another account to send events t | PutPermission | |
put-ruleCreates or updates the specified rule. Rules are enabled by default, or based on value of the state. You can disable a rule using DisableRule. A single rule watches for events from a single event bus. Events generated by Amazon Web Services services go to your account's default event bus. Events gen | PutRule | |
put-targetsAdds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. The maximum number of entries per request is 10. Each rule can have up to five (5) targets associated with it a | PutTargets | |
remove-permissionRevokes the permission of another Amazon Web Services account to be able to put events to the specified event bus. Specify the account to revoke by the StatementId value that you associated with the account when you granted it permission with PutPermission. You can find the StatementId by using Desc | RemovePermission | |
remove-targetsRemoves the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked. A successful execution of RemoveTargets doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed. When you remove | RemoveTargets | |
start-replayStarts the specified replay. Events are not necessarily replayed in the exact same order that they were added to the archive. A replay processes events to replay based on the time in the event, and replays them using 1 minute intervals. If you specify an EventStartTime and an EventEndTime that cover | StartReplay | |
tag-resourceAssigns one or more tags (key-value pairs) to the specified EventBridge resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In EventBridge, rules | TagResource | |
test-event-patternTests whether the specified event pattern matches the provided event. Most services in Amazon Web Services treat : or / as the same character in Amazon Resource Names (ARNs). However, EventBridge uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating | TestEventPattern | |
untag-resourceRemoves one or more tags from the specified EventBridge resource. In Amazon EventBridge, rules and event buses can be tagged. | UntagResource | |
update-api-destinationUpdates an API destination. | UpdateApiDestination | |
update-archiveUpdates the specified archive. | UpdateArchive | |
update-connectionUpdates settings for a connection. | UpdateConnection | |
update-endpointUpdate an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide . | UpdateEndpoint | |
update-event-busUpdates the specified event bus. | UpdateEventBus |
Everything you need to know about Amazon EventBridge on one page. HD quality, print-friendly.
Download Free InfographicEverything you need to know about Amazon EventBridge on one page. HD quality, print-friendly.
Download Free InfographicEventBridge