bedrock-agentcore:StopCodeInterpreterSession is a Write access-level action in the bedrock-agentcore service. Grants permission to stop a code interpreter session
ARNs that bedrock-agentcore:StopCodeInterpreterSession can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants bedrock-agentcore:StopCodeInterpreterSession.
Filters access by having actions based on the tag value associated with the resource
A minimal policy that allows bedrock-agentcore:StopCodeInterpreterSession. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowBedrockagentcoreStopCodeInterpreterSession",
"Effect": "Allow",
"Action": "bedrock-agentcore:StopCodeInterpreterSession",
"Resource": "*"
}
]
}