OS Manuals

/usr/bin/cfn-send-cmd-event

CloudFormation helper scripts

From aws-cfn-bootstrap 2.0.42-r0 (enterprise-packages), captured 2026-11-08 by running cfn-send-cmd-event --help (exit 0). permalink

/usr/bin/cfn-send-cmd-event:41: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  type="string", dest="event_timestamp", default=datetime.datetime.utcnow().isoformat())
Usage: cfn-send-cmd-event [options] [Command Event Message]

Options:
  -h, --help            show this help message and exit
  --event-handle=EVENT_HANDLE
                        Event Handle URL
  -e EVENT_ID, --event-id=EVENT_ID
                        An id that uniquely identifies the event for this command and listener
  -t EVENT_TIMESTAMP, --event-timestamp=EVENT_TIMESTAMP
                        The time the event occurred, in ISO 8601 form
  -d DISPATCHER_ID, --dispatcher-id=DISPATCHER_ID
                        The dispatcher ID
  -c COMMAND_NAME, --command-name=COMMAND_NAME
                        The command name
  -i INVOCATION_ID, --invocation-id=INVOCATION_ID
                        The invocation ID
  -l LISTENER_ID, --listener-id=LISTENER_ID
                        The listener ID

  Proxy:
    Options for specifying proxies. Format: [scheme://][user:password@]host:port

    --http-proxy=HTTP_PROXY
                        A (non-SSL) HTTP proxy
    --https-proxy=HTTPS_PROXY
                        An HTTPS proxy
Options (10)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
--event-handle EVENT_HANDLEEvent Handle URLhelp
-e, --event-id EVENT_IDAn id that uniquely identifies the event for this command and listenerhelp
-t, --event-timestamp EVENT_TIMESTAMPThe time the event occurred, in ISO 8601 formhelp
-d, --dispatcher-id DISPATCHER_IDThe dispatcher IDhelp
-c, --command-name COMMAND_NAMEThe command namehelp
-i, --invocation-id INVOCATION_IDThe invocation IDhelp
-l, --listener-id LISTENER_IDThe listener IDhelp
--http-proxy HTTP_PROXYA (non-SSL) HTTP proxyhelp
--https-proxy HTTPS_PROXYAn HTTPS proxyhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.