P0 App Documentation
Sign up for FreeKnowledge Base
  • What Is P0?
    • πŸŽ›οΈIAM Dashboard
    • πŸ”ŽAccess Inventory
    • πŸͺ‘IAM Posture
    • ⏱️Just-In-Time Access
    • ♻️Service-Account Key Rotation
  • Getting Started
    • ⬇️Quick Start
    • 🎁Share P0 With Your Team
  • INVENTORY
    • πŸ—ΊοΈAccess Inventory
    • πŸ”¬Result Details
    • ❔Query Search
      • πŸ“–Search Reference
  • Posture
    • βš–οΈPosture Overview
  • Monitor Results
  • πŸ€”Finding Details
  • ORCHESTRATION
    • ⏰Just-in-time access
      • πŸ–οΈRequesting Access
        • πŸ‘‰For Another Party
      • 🏁Approving Access
        • Pre-approving Access
      • πŸ”€Request Routing
        • Google Cloud Filtering
        • AWS Filtering
      • πŸ—’οΈSession Recording
        • πŸ“¦AWS
      • πŸ”ŒJust-in-time API
        • Command API
        • Access Requests API
        • Routing Rules API
  • Environments
    • ☁️Creating an Environment
    • πŸ““Environment Terminology
    • βš™οΈSettings
  • Integrations
    • πŸ“žNotifier integrations
      • πŸ’¬Slack
      • πŸ‘¬Microsoft Teams
      • πŸ“£Custom Notifiers
        • AWS Lambda Notifier
    • πŸ”‘Resource integrations
      • ☁️Google Cloud
        • Security Perimeter
        • Requesting Access
        • Permissions Reference
          • Cloud Storage
          • Compute Engine
        • Function Caller
      • πŸ“¦AWS
        • Requesting Access
        • AWS Integration API
        • Function Caller
      • ☸️Kubernetes
        • Requesting Access
        • Advanced Requests
      • πŸ”‹PostgreSQL
        • Requesting Access
      • ❄️Snowflake
      • πŸ–₯️SSH
      • GitHub
        • Requesting Access
      • πŸ› οΈCustom Resource
        • Installing a Custom Resource Integration
    • πŸ‘₯Directory integrations
      • Microsoft Entra ID
        • Requesting Access
      • Google Workspace
      • Okta
    • βœ”οΈApproval integrations
      • πŸ””PagerDuty
    • ⚑SIEM Integrations
      • Splunk HEC Setup
  • πŸ“Tracker integrations
    • 🎟️Jira
  • P0 Management
    • 🎩Role-Based Access Control
    • πŸ”ŒManagement API
      • Role Management API
      • Just-in-time settings API
Powered by GitBook
On this page
  • Before you begin
  • Install the AWS function caller component
  1. Integrations
  2. Resource integrations
  3. AWS

Function Caller

PreviousAWS Integration APINextKubernetes

Last updated 1 day ago

The function-caller component is a secure, reusable building block in P0 that enables the platform to invoke AWS Lambda functions on your behalf. It acts as the bridge between P0 and your cloud environment, allowing notifications and events to trigger real-time execution of your custom logic inside AWS.

This component is important because it:

  • Establishes a trusted connection between P0 and your AWS account

  • Ensures secure invocation of your Lambda functions using least-privilege permissions

  • Allows you to reuse the same Lambda across multiple integrations or event types without repeating setup steps

  • Provides flexibility, enabling you to integrate deeply with your internal systems, automation flows, or alerting infrastructure

Setting up the function-caller is the first step toward enabling powerful serverless automation with your P0 events.

Before you begin

This guide walks you through setting up an AWS function caller integration component, but before diving into the steps, make sure you have an AWS Lambda function.

Install the AWS function caller component

First, you'll need to define an installer component in P0 that knows how to call your Lambda function. This component will give P0 permission to invoke this specific lambda function

  1. Go to p0.app in your browser, navigate to Integrations, and select AWS.

  2. Select the function caller component.

  1. Enter the full ARN of your AWS Lambda function. This is required so P0 knows which function to invoke.

  1. Follow the provided instructions to provision access using AWS CloudShell or Terraform. This step grants P0 permission to call your Lambda securely.

  1. Once completed, P0 is now set up to call your Lambda function

πŸ”‘
πŸ“¦