AWS Security ChangesHomeSearch

AWS nova medium security documentation change

Service: nova · 2025-12-16 · Security-related medium

File: nova/latest/nova2-userguide/sonic-integrations.md

Summary

Updated framework references, added installation instructions, code examples, and expanded documentation for Amazon Bedrock AgentCore with security features

Security assessment

Added explicit documentation about enterprise security features including IAM/SigV4 authentication, VPC isolation, and audit logging. These changes describe security controls rather than fixing vulnerabilities.

Diff

diff --git a/nova/latest/nova2-userguide/sonic-integrations.md b/nova/latest/nova2-userguide/sonic-integrations.md
index c66788c05..288afbc0d 100644
--- a//nova/latest/nova2-userguide/sonic-integrations.md
+++ b//nova/latest/nova2-userguide/sonic-integrations.md
@@ -5 +5 @@
-Strands AgentsLiveKitPipecatFramework integrations
+Strands AgentsFramework integrations
@@ -15 +15,3 @@ Strands Agents is a simple yet powerful SDK that takes a model-driven approach t
-The BidiAgent provides real-time audio and text interaction through persistent streaming connections. Unlike traditional request-response patterns, this agent maintains long-running conversations with support for interruptions, concurrent processing and continuous audio responses.
+For comprehensive documentation on the Strands framework, visit the [official Strands documentation](https://strandsagents.com/latest/documentation/docs/user-guide/quickstart/).
+
+The Strands BidiAgent provides real-time audio and text interaction through persistent streaming connections. Unlike traditional request-response patterns, this agent maintains long-running conversations with support for interruptions, concurrent processing and continuous audio responses.
@@ -28,2 +29,0 @@ The BidiAgent provides real-time audio and text interaction through persistent s
-For comprehensive documentation on the Strands framework, visit the official Strands documentation.
-
@@ -31,0 +32,9 @@ For comprehensive documentation on the Strands framework, visit the official Str
+**Installation:**
+
+Install the required packages:
+    
+    
+    pip install strands-agents strands-agents-tools
+
+Run this example:
+    
@@ -68 +76,0 @@ For comprehensive documentation on the Strands framework, visit the official Str
-## LiveKit
@@ -70 +78,11 @@ For comprehensive documentation on the Strands framework, visit the official Str
-LiveKit is an open-source platform for building real-time audio and video applications. Amazon Nova 2 Sonic can be integrated with LiveKit to create scalable voice applications with features like multi-party conversations, recording and streaming.
+    from strands.experimental.bidi.agent import BidiAgent 
+    from strands.experimental.bidi.io.audio import BidiAudioIO 
+    from strands.experimental.bidi.io.text import BidiTextIO 
+    from strands.experimental.bidi.models.novasonic import BidiNovaSonicModel 
+    from strands_tools import calculator
+
+  * BidiAgent: The main agent class that orchestrates bidirectional conversations
+
+  * BidiAudioIO: Handles audio input and output for speech interactions
+
+  * BidiTextIO: Provides text output for transcriptions and responses
@@ -72 +90 @@ LiveKit is an open-source platform for building real-time audio and video applic
-## Pipecat
+  * BidiNovaSonicModel The Nova 2 Sonic model wrapper
@@ -74 +92 @@ LiveKit is an open-source platform for building real-time audio and video applic
-Pipecat is a framework for building voice and multimodal conversational AI applications. It provides a pipeline-based architecture that simplifies the integration of speech recognition, language models and text-to-speech services.
+  * Calculator: A pre-built tool for mathematical operations
@@ -76 +93,0 @@ Pipecat is a framework for building voice and multimodal conversational AI appli
-**Key Features:**
@@ -78 +94,0 @@ Pipecat is a framework for building voice and multimodal conversational AI appli
-  * Pipeline-based architecture for modular design
@@ -80 +95,0 @@ Pipecat is a framework for building voice and multimodal conversational AI appli
-  * Built-in support for multiple AI services
@@ -82 +96,0 @@ Pipecat is a framework for building voice and multimodal conversational AI appli
-  * Easy integration with Amazon Nova 2 Sonic
@@ -84 +98,26 @@ Pipecat is a framework for building voice and multimodal conversational AI appli
-  * Support for real-time audio processing
+    audio_io = BidiAudioIO(audio_config={}) 
+    text_io = BidiTextIO()
+
+The BidiAudioIO manages microphone input and speaker output, while BidiTextIO displays text transcriptions and responses in the console.
+    
+    
+    model = BidiNovaSonicModel(region="us-east-1")
+
+Create a Nova Sonic model instance. The region parameter specifies the AWS region where the model is deployed.
+    
+    
+    async with BidiAgent(model=model, tools=[calculator]) as agent: 
+        await agent.run( 
+            inputs=[audio_io.input()],  
+            outputs=[audio_io.output(), text_io.output()] 
+        )
+
+The agent is created with:
+
+  * Model: The Nova 2 Sonic model to use
+
+  * Tools: List of tools the agent can call (like calculator)
+
+  * Inputs: Audio input from the microphone
+
+  * Outputs: Audio output to speakers and text output to console
@@ -93 +132 @@ Amazon Nova 2 Sonic can be integrated with various frameworks and platforms to b
-Amazon Bedrock AgentCore provides a framework for building AI agents with Amazon Bedrock models. It includes tools for agent orchestration, memory management and integration with external services.
+Amazon Bedrock AgentCore provides a managed runtime environment for deploying Nova 2 Sonic applictions with enterprise-grade security and scalability. AgentCore simplifies the deployment of real-time voice AI applications by handling infrastructure, authentication, and WebSocket connectivity.
@@ -99 +138,18 @@ Amazon Bedrock AgentCore provides a framework for building AI agents with Amazon
-  * Agent orchestration and workflow management
+  * Bidirectional streaming - Native support for Nova Sonic's full-duplex streaming interface with real-time event processing and low-latency communication.
+
+  * WebSocket infrastructure - Production-ready WebSocket servers with automatic scaling, connection management, and error recovery.
+
+  * Container deployment - Deploy Nova Sonic applications as containers to managed infrastructure with horizontal scaling and independent versioning.
+
+  * Enterprise security - Fine-grained authentication via IAM and SigV4, VPC isolation, and comprehensive audit logging.
+
+
+
+
+The architecture shows how client applications connect to AgentCore Runtime via WebSocket with SigV4 authentication. The containerized environment includes your WebSocket server, application logic, and Nova Sonic client, all communicating with Nova Sonic through the bidirectional streaming API.
+
+**Benefits:**
+
+  * Simplified operations: Focus on application logic while AgentCore manages infrastructure, scaling, and reliability.
+
+  * Enterprise security: Built-in authentication, authorization, and compliance features for production deployments.
@@ -101 +157 @@ Amazon Bedrock AgentCore provides a framework for building AI agents with Amazon
-  * Built-in memory and state management
+  * Cost efficienty: Pay only for what you use with automatic scaling and resource optimization.
@@ -103 +159 @@ Amazon Bedrock AgentCore provides a framework for building AI agents with Amazon
-  * Integration with Amazon Bedrock models and tools
+  * Developer productivity: Reduce time to production with managed WebSocket infrastructure and container deployment.
@@ -108 +164,18 @@ Amazon Bedrock AgentCore provides a framework for building AI agents with Amazon
-LiveKit is an open-source platform for building real-time audio and video applications. Integration with Amazon Nova 2 Sonic enables voice-based interactions in LiveKit applications.
+**Use cases**
+
+  * Customer service voice assistants with secure authentication
+
+  * Enterprise voice applications requiring IAM integration
+
+  * Multi-tenant voice platforms with isolated deployments
+
+  * Voice-enabled applications requiring compliance and audit trails
+
+
+
+
+For detailed documentation on deploying Nova Sonic with AgentCore, visit the [Amazon Bedrock AgentCore Documentation.](https://aws.amazon.com/bedrock/agentcore/)
+
+LiveKit is an open-source platform for building real-time audio and video applications. Integration with Amazon Nova 2 Sonic enables developers to build conversational voice interfaces without managing complex audio pipelines or signaling protocols.
+
+For detailed implementation examples and code examples, visit the [LiveKit AWS Integration Documentation.](https://docs.livekit.io/agents/integrations/aws/)
@@ -111,0 +185,17 @@ LiveKit is an open-source platform for building real-time audio and video applic
+**How it works:**
+
+  * Client layer: Web, mobile, or desktop applications connect using LiveKit's client SDKs, which handle audio capture, WebRTC streaming, and playback.
+
+  * LiveKit Server: Acts as the real-time communication hub, managing WebRTC connections, routing audio streams, and handling session state with low-latency optimization.
+
+  * LiveKit Agent: Python-based agent that receives audio from the server, processes it through the Nova Sonic plugin, and streams responses back. Includes built-in features like voice activity detection and turn management.
+
+  * Amazon Nova 2 Sonic: Processes the audio stream through bidirectional streaming API, performing speech recognition, natural language understanding, and generating conversational responses with synthesized speech.
+
+
+
+
+Pipecat is a framework for building voice and multimodal conversational AI applications. It provides a modular, pipeline-based architecture that orchestrates multiple components to create intelligent voice applications with Amazon Nova Sonic and other AWS services.
+
+For detailed implementation examples and code samples, visit the [PipeCat AWS Integration Documentation.](https://docs.pipecat.ai/server/services/s2s/aws)
+
@@ -114 +204 @@ LiveKit is an open-source platform for building real-time audio and video applic
-  * Real-time audio streaming
+  * Pipeline architecture: Modular Python-based framework for composing voice AI components including ASR, NLU, TTS, and more.
@@ -116 +206 @@ LiveKit is an open-source platform for building real-time audio and video applic
-  * Low-latency communication
+  * Pipecat flows: State management framework for building complex conversational logic and tool execution.
@@ -118 +208 @@ LiveKit is an open-source platform for building real-time audio and video applic
-  * Support for multiple participants
+  * WebRTC Support: Built-in integration with Daily and other WebRTC providers for real-time audio streaming.
@@ -119,0 +210 @@ LiveKit is an open-source platform for building real-time audio and video applic
+  * AWS Integration: Native support for Amazon Bedrock, Amazon Transcribe, and Amazon Polly.
@@ -123 +213,0 @@ LiveKit is an open-source platform for building real-time audio and video applic
-Pipecat is a framework for building voice and multimodal conversational AI applications. It provides a pipeline-based architecture for processing audio streams and integrating with various AI services.
@@ -127 +217,39 @@ Pipecat is a framework for building voice and multimodal conversational AI appli
-**Key features:**
+The architecture includes:
+
+  * WebRTC Transport: Real-time audio streaming between client devices and application server.
+
+  * Voice activity detection (VAD): Silero VAD with configurable speech detection and noise suppression.
+
+  * Speech recognition: Amazon Transcribe for accurate, real-time speech-to-text conversion.
+
+  * Natural language understanding: Amazon Nova Pro on Bedrock with latency-optimized inference.
+
+  * Tool execution: Pipecat Flows for API integration and backend service calls.
+
+  * Response generation: Amazon Nova Pro for coherent, context-aware responses.
+
+  * Text-to-speech: Amazon Polly with generative voices for lifelike speech output.
+
+
+
+
+Deploy your Nova Sonic applications to AWS using infrastructure as code with AWS CDK (Cloud Development Kit). This approach provides repeatable, version-controlled deployments with best practices built in.
+
+Deployment options
+
+  * Amazon ECS (Elastic Container Service): Fully managed container orchestration with Application Load Balancer integration, auto-scaling, and serverless Fargate execution.
+
+  * Amazon EKS (Elastic Kubernetes Services): Managed Kubernetes for complex orchestration, advanced networking, multi-region deployments, and extensive tooling ecosystem.
+
+  * AWS CDK: AWS CDK allows you to define cloud infrastructure using familiar programming languages.
+
+
+
+
+For a complete, production-ready example of deploying Nova Sonic with AWS CDK, see the [Speech-to-Speech CDK Sample](https://github.com/aws-samples/generative-ai-cdk-constructs-samples/tree/main/samples/speech-to-speech) on GitHub. This sample demonstrates:
+
+![](/images/nova/latest/nova2-userguide/images/cdk-12.png)
+