Validates VPC subnet and security group configurations for agent deployments. Use this to ensure network settings are correctly formatted before provisioning cloud infrastructure.
// Source: https://github.com/CopilotKit/agentcore-cli | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
export interface VpcOptions {
networkMode?: string;
subnets?: string;
securityGroups?: string;
}
export interface VpcValidationResult {
valid: boolean;
error?: string;
}
/**
* Warning shown when an agent is configured with VPC network mode.
* Used in CLI output, TUI completion screens, and exit messages.
*/
export const VPC_ENDPOINT_WARNING =
'VPC mode may require VPC endpoints for CloudWatch, X-Ray, ECR, and Bedrock depending on your agent configuration. If your agent calls public APIs or uses an API-key-based provider, a NAT gateway or additional endpoints may
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key