Interface VpcConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpcConfig.Builder,,VpcConfig> SdkBuilder<VpcConfig.Builder,,VpcConfig> SdkPojo
- Enclosing class:
VpcConfig
-
Method Summary
Modifier and TypeMethodDescriptionrequireServiceS3Endpoint(Boolean requireServiceS3Endpoint) securityGroups(String... securityGroups) The security groups associated with the VPC configuration.securityGroups(Collection<String> securityGroups) The security groups associated with the VPC configuration.The subnets associated with the VPC configuration.subnets(Collection<String> subnets) The subnets associated with the VPC configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
securityGroups
The security groups associated with the VPC configuration.
- Parameters:
securityGroups- The security groups associated with the VPC configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The security groups associated with the VPC configuration.
- Parameters:
securityGroups- The security groups associated with the VPC configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The subnets associated with the VPC configuration.
- Parameters:
subnets- The subnets associated with the VPC configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The subnets associated with the VPC configuration.
- Parameters:
subnets- The subnets associated with the VPC configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requireServiceS3Endpoint
This field applies only to Agent Runtimes. It is not applicable to Browsers or Code Interpreters.
Controls whether a service-managed Amazon S3 gateway endpoint is provisioned in the VPC network topology for the agent runtime. This gateway is used by Amazon Bedrock AgentCore Runtime to download code and container images during agent startup.
Starting May 5, 2026, Amazon Bedrock AgentCore Runtime is gradually rolling out a change to how network isolation is configured for VPC mode agents. Agent runtimes created on or after this rollout will no longer include the service-managed Amazon S3 gateway. Instead, all network access, including to Amazon S3, is governed exclusively by your VPC configuration. This field cannot be set on agent runtimes created after the rollout. Passing this field in an
UpdateAgentRuntimerequest for these agent runtimes returns aValidationException.Agent runtimes created before the rollout are not affected and continue to operate with the service-managed Amazon S3 gateway. To enforce full VPC network isolation on these existing agent runtimes, set this field to
falsevia theUpdateAgentRuntimeAPI. Before opting out, ensure your VPC provides the Amazon S3 access required for agent startup. If this field is not specified or is set totrue, the service-managed Amazon S3 gateway remains provisioned.This field is only supported in the
UpdateAgentRuntimeAPI for pre-rollout agent runtimes. Passing this field in aCreateAgentRuntimerequest returns aValidationException.- Parameters:
requireServiceS3Endpoint-This field applies only to Agent Runtimes. It is not applicable to Browsers or Code Interpreters.
Controls whether a service-managed Amazon S3 gateway endpoint is provisioned in the VPC network topology for the agent runtime. This gateway is used by Amazon Bedrock AgentCore Runtime to download code and container images during agent startup.
Starting May 5, 2026, Amazon Bedrock AgentCore Runtime is gradually rolling out a change to how network isolation is configured for VPC mode agents. Agent runtimes created on or after this rollout will no longer include the service-managed Amazon S3 gateway. Instead, all network access, including to Amazon S3, is governed exclusively by your VPC configuration. This field cannot be set on agent runtimes created after the rollout. Passing this field in an
UpdateAgentRuntimerequest for these agent runtimes returns aValidationException.Agent runtimes created before the rollout are not affected and continue to operate with the service-managed Amazon S3 gateway. To enforce full VPC network isolation on these existing agent runtimes, set this field to
falsevia theUpdateAgentRuntimeAPI. Before opting out, ensure your VPC provides the Amazon S3 access required for agent startup. If this field is not specified or is set totrue, the service-managed Amazon S3 gateway remains provisioned.This field is only supported in the
UpdateAgentRuntimeAPI for pre-rollout agent runtimes. Passing this field in aCreateAgentRuntimerequest returns aValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-