HttpPostLifecycleHookAction
A lifecycle hook action that sends an HTTP POST request to the agent's container. The path and port can't conflict with a path that your agent already serves for AgentCore Runtime, such as the protocol's invocation path or the health check path.
Contents
- path
-
The path in the agent's container that AgentCore Runtime sends the
POSTrequest to.Type: String
Length Constraints: Minimum length of 1. Maximum length of 32.
Pattern:
/[A-Za-z0-9._~/-]*Required: Yes
- port
-
The port in the agent's container that AgentCore Runtime sends the
POSTrequest to. If you don't specify a port, the default is the runtime's server port: the port in the protocol configuration if one is set, otherwise the protocol's default port.Type: Integer
Valid Range: Minimum value of 8000. Maximum value of 12000.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: