Defined in: [src/models/bedrock.ts:150](https://github.com/strands-agents/harness-sdk/blob/576da59fdc411b55036a7cf66d4e1659a67d4d0d/strands-ts/src/models/bedrock.ts#L150)

Bedrock-specific prompt-caching configuration. Narrows the TTL fields onto the common [CacheConfig](/pr-cms-3708/docs/api/typescript/CacheConfig/index.md) for the Bedrock provider.

## Extends

-   [`CacheConfig`](/pr-cms-3708/docs/api/typescript/CacheConfig/index.md)

## Properties

### toolsTTL?

```ts
optional toolsTTL?: BedrockCacheTTL;
```

Defined in: [src/models/bedrock.ts:152](https://github.com/strands-agents/harness-sdk/blob/576da59fdc411b55036a7cf66d4e1659a67d4d0d/strands-ts/src/models/bedrock.ts#L152)

TTL applied to the auto-injected cache point appended after `toolConfig.tools`.

---

### messagesTTL?

```ts
optional messagesTTL?: BedrockCacheTTL;
```

Defined in: [src/models/bedrock.ts:155](https://github.com/strands-agents/harness-sdk/blob/576da59fdc411b55036a7cf66d4e1659a67d4d0d/strands-ts/src/models/bedrock.ts#L155)

TTL applied to the auto-injected cache point appended to the last user message.

---

### strategy

```ts
strategy: "auto" | "anthropic";
```

Defined in: [src/models/model.ts:77](https://github.com/strands-agents/harness-sdk/blob/576da59fdc411b55036a7cf66d4e1659a67d4d0d/strands-ts/src/models/model.ts#L77)

Caching strategy to use.

-   “auto”: Automatically inject cache points at optimal positions based on model ID detection (after tools, after last user message)
-   “anthropic”: Force enable Anthropic-style caching (useful for application inference profiles)

#### Inherited from

[`CacheConfig`](/pr-cms-3708/docs/api/typescript/CacheConfig/index.md).[`strategy`](/pr-cms-3708/docs/api/typescript/CacheConfig/index.md#strategy)