You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ec2): add BEDROCK_AGENTCORE and BEDROCK_AGENTCORE_GATEWAY to InterfaceVpcEndpointAwsService (#35667)
[AgentCore's VPC Endpoint support announced on Sep 25, 2025 was announced](https://aws.amazon.com/about-aws/whats-new/2025/09/amazon-bedrock-agentcore-runtime-browser-code-interpreter-vpc-privatelink-cloudformation-tagging/). The service names bedrock-agentcore and bedrock-agentcore.gateway mentioned in [this document](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/vpc-interface-endpoints.html) have been added to InterfaceVpcEndpointAwsService. ### Reason for this change New VPC Endpoints exist now. ### Description of changes Add the missing constants. ### Describe any new or updated permissions being added None. ### Description of how you validated changes The following code works as expected. ``` // Deploy on us-east-1 import * as cdk from 'aws-cdk-lib'; import { Construct } from 'constructs'; import * as ec2 from 'aws-cdk-lib/aws-ec2'; export class VpcEndpointTestStack extends cdk.Stack { constructor(scope: Construct, id: string, props?: cdk.StackProps) { super(scope, id, props); const vpc = new ec2.Vpc(this, 'Vpc', { availabilityZones: [ 'us-east-1a', 'us-east-1c', 'us-east-1d', ], }); // AgentCore new ec2.InterfaceVpcEndpoint(this, 'AgentCore', { vpc, service: ec2.InterfaceVpcEndpointAwsService.BEDROCK_AGENTCORE, }); // AgentCore Gateway new ec2.InterfaceVpcEndpoint(this, 'AgentCoreGateway', { vpc, service: ec2.InterfaceVpcEndpointAwsService.BEDROCK_AGENTCORE_GATEWAY, }); } } ``` ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* Yes, and I am an AWS employee.
0 commit comments