aws-integration

Configure and manage Datadog AWS integrations for metrics, logs, traces, and security monitoring.

5|2|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/lauhon/pi --skill aws-integration-lauhon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-integration
Source: https://github.com/lauhon/pi/tree/main/skills/aws-integration
Command: npx skills add https://github.com/lauhon/pi --skill aws-integration-lauhon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up and maintaining Datadog's AWS integration involves many moving parts: IAM roles, external IDs, CloudWatch namespace filters, Lambda log forwarders, EventBridge sources, and CSPM configuration. This Skill centralizes all of these operations into guided commands so you can onboard AWS accounts and control data collection without memorizing API endpoints. ## Core Features & Use Cases - AWS Account Integration (V2 API): Create, update, list, and delete AWS account integrations with role-based authentication, region selection, namespace filters, and account tags. - Log Collection Management: Register Lambda forwarder ARNs, enable log services like S3, ELB, and CloudFront, and verify configuration status asynchronously. - EventBridge, Tag Filters, and Helpers: Manage EventBridge event sources, create namespace tag filters to control metric volume, generate external IDs, and retrieve required IAM permissions. - Use Case: You need to onboard a production AWS account to Datadog. Generate an external ID, create the integration with CSPM and X-Ray enabled, register the Lambda forwarder, and enable S3 and CloudFront log collection, all through guided commands. ## Quick Start Ask the agent to list all configured AWS integrations or to set up a new AWS account integration for a specific 12-digit account ID.

Frequently Asked Questions about aws-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Datadog AWS integration for a new account?

Generate an external ID first, then create an IAM role in AWS with a trust policy using that external ID, and finally create the integration with your account ID, role name, and regions. The process uses role-based authentication, which is required for the V2 API.

How do I collect logs from S3 and CloudFront into Datadog?

Deploy the Datadog Lambda Forwarder in your AWS account, register its ARN with the log integration, then enable the specific services such as s3, elb, and cloudfront. You can verify the configuration asynchronously using the status check commands.

What IAM permissions does the Datadog AWS integration need?

The required permissions depend on collection type: standard metrics, resource collection, or the complete set. You can retrieve the exact permission list formatted as policy statements using the IAM permissions helper command.

What is the difference between the V1 and V2 AWS integration APIs?

V2 uses role-based authentication exclusively and provides a unified configuration structure, while V1 supports legacy access key authentication and separate tag filter endpoints. Migrating to V2 is recommended for better security and future feature support.

How do I reduce CloudWatch metric volume and costs in Datadog?

Use namespace filters to collect metrics only from services you monitor, and add tag filters to limit collection to tagged resources such as env:production. You can also disable custom metric collection and restrict enabled regions.

Why does my AWS integration fail with an unable to assume IAM role error?

This error means the IAM role trust relationship is misconfigured. Verify the role exists, its trust policy includes Datadog's AWS account with the correct external ID, and the required permissions policy is attached.