File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,17 @@ Resources:
5959 PolicyDocument :
6060 Version : " 2012-10-17"
6161 Statement :
62- # Allow integration tests to manage CloudFormation stacks to deploy the example MCP servers
62+ # Allow integration tests to manage CloudFormation stacks and Bedrock AgentCore Gateways to deploy the example MCP servers
6363 - Effect : Allow
6464 Action :
6565 - " cloudformation:*"
6666 Resource :
6767 - !Sub " arn:aws:cloudformation:${AWS::Region}:${AWS::AccountId}:stack/LambdaMcpServer-*"
68+ - Effect : Allow
69+ Action :
70+ - " bedrock-agentcore:*"
71+ Resource :
72+ - !Sub " arn:aws:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:gateway/*"
6873 - Effect : Allow
6974 Action :
7075 - " ssm:GetParameter"
@@ -77,12 +82,7 @@ Resources:
7782 - " iam:PassRole"
7883 Resource :
7984 - !Sub " arn:aws:iam::${AWS::AccountId}:role/cdk-*-cfn-exec-role-${AWS::AccountId}-${AWS::Region}"
80- # Allow integration tests to manage Bedrock AgentCore Gateways to deploy example MCP server endpoints
81- - Effect : Allow
82- Action :
83- - " bedrock-agentcore:*"
84- Resource :
85- - !Sub " arn:aws:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:gateway/*"
85+ - !Sub " arn:aws:iam::${AWS::AccountId}:role/mcp-lambda-example-agentcore-gateways"
8686 # Allow CDK to manage templates and assets in the CDK bucket
8787 - Effect : Allow
8888 Action :
You can’t perform that action at this time.
0 commit comments