We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c29bb76 commit de7e8a6Copy full SHA for de7e8a6
1 file changed
cdk/src/stacks/agent.ts
@@ -206,6 +206,20 @@ export class AgentStack extends Stack {
206
// Grant the runtime permissions to invoke the inference profile
207
inferenceProfile.grantInvoke(runtime);
208
209
+ const model3 = new bedrock.BedrockFoundationModel('anthropic.claude-opus-4-20250514-v1:0', {
210
+ supportsAgents: true,
211
+ supportsCrossRegion: true,
212
+ });
213
+
214
+ model3.grantInvoke(runtime);
215
216
+ const inferenceProfile3 = bedrock.CrossRegionInferenceProfile.fromConfig({
217
+ geoRegion: bedrock.CrossRegionInferenceProfileRegion.US,
218
+ model: model3,
219
220
221
+ inferenceProfile3.grantInvoke(runtime);
222
223
const model2 = new bedrock.BedrockFoundationModel('anthropic.claude-haiku-4-5-20251001-v1:0', {
224
supportsAgents: true,
225
supportsCrossRegion: true,
0 commit comments