Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

Kiro Power - Amazon Bedrock AgentCore を学ぶ、もう一つの...

Kiro Power - Amazon Bedrock AgentCore を学ぶ、もう一つの方法 (デプロイ編)

Avatar for r3_yamauchi

r3_yamauchi PRO

December 19, 2025
Tweet

More Decks by r3_yamauchi

Other Decks in Technology

Transcript

  1. uv run agentcore gateway create-mcp-gateway-target -- gateway-arn "arn:aws:bedrock-agentcore:us-east- 1:123456789012:gateway/myfirstagentgateway- 12abcdefgh"

    --gateway-url "https://myfirstagentgateway- 12abcdefgh.gateway.bedrock-agentcore.us-east- 1.amazonaws.com/mcp" --role-arn "arn:aws:iam::123456789012:role/AgentCoreGatewayEx ecutionRole" --name TestLambdaTarget --target-type lambda --region us-east-1 aws cognito-idp describe-user-pool-client --user-pool-id us-east-1_1AbC0deFG --client-id 1abc2def3ghi4jklmno5p6qr78 --region us-east-1 --query 'UserPoolClient.ClientSecret' --output text
  2. uv run agentcore gateway list-mcp-gateway-targets -- name MyFirstAgentGateway --region us-east-1

    curl -X POST "https://agentcore-1ab2c34d.auth.us-east- 1.amazoncognito.com/oauth2/token" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=client_credentials&client_id=1abc2def3ghi 4jklmno5p6qr78&client_secret=1a2b34c5d67efg8&scop e=MyFirstAgentGateway/invoke"