View a markdown version of this page

RecordExpirySpecification - Amazon Bedrock AgentCore Control Plane

RecordExpirySpecification

Specifies the record expiry (long-term memory time-to-live) for a memory strategy. Provide exactly one of recordExpiryDurationDays or action. Set recordExpiryDurationDays to configure or update the time-to-live, or set action to REMOVE to remove a previously configured time-to-live.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

action

The action to apply to the existing record expiry (long-term memory time-to-live) configuration. Set to REMOVE to remove a previously configured time-to-live so that newer records no longer expire. This value is not applicable on create paths.

Type: String

Valid Values: REMOVE

Required: No

recordExpiryDurationDays

The duration, in days, after which memory records generated by this strategy expire. The minimum is 31 days.

Type: Integer

Valid Range: Minimum value of 31.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: