

# bedrockagentcore-codeinterpreter-networkmode-check
<a name="bedrockagentcore-codeinterpreter-networkmode-check"></a>

Checks if an Amazon Bedrock AgentCore CodeInterpreterCustom is configured with a private network mode. The rule is NON\_COMPLIANT if the CodeInterpreterCustom has NetworkMode set to PUBLIC or SANDBOX. 



**Identifier:** BEDROCKAGENTCORE\_CODEINTERPRETER\_NETWORKMODE\_CHECK

**Resource Types:** AWS::BedrockAgentCore::CodeInterpreterCustom

**Trigger type:** Configuration changes

**AWS Region:** Only available in Europe (Stockholm), Asia Pacific (Mumbai), Europe (Paris), US East (Ohio), Europe (Ireland), Europe (Frankfurt), US East (N. Virginia), Asia Pacific (Seoul), Europe (London), Asia Pacific (Tokyo), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Canada (Central) Region

**Parameters:**

None  

## AWS CloudFormation template
<a name="w2aac20c16c17b7d277c19"></a>

To create AWS Config managed rules with AWS CloudFormation templates, see [Creating AWS Config Managed Rules With AWS CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).