云提供商
Connect your AWS account to give agents full visibility into your infrastructure. Agents can discover resources, monitor CloudWatch metrics, analyze costs, and help you understand your architecture across EC2, Lambda, ECS, RDS, and more.

连接

从终端连接AWS。传入--help查看AWS接受的标志,在无头环境中再加上--no-browser。

Terminal
polylane cloud connect --provider aws

断开连接

断开连接会停止所有同步和检查,并删除Polylane持有的凭据。 Polylane会移除AWS的API允许它移除的内容。以下内容会保留,直到你自己移除:

  • PolylaneEnvironmentRole (DeletionPolicy Retain)
  • PolylaneEnvironmentPolicies (Retain)
  • PolylaneS3Bucket (Retain)
  • EKS access entries
Terminal
polylane cloud disconnect <id>

工具

11

智能体可以在线程中执行的操作。

Api
Read any AWS API via a SigV4-signed request (read-only escape hatch)
Cloud Watch Alarms
Read or manage CloudWatch alarms (list, get, getHistory, create, acknowledge, enableActions)
Cloud Watch Dashboards
Read or manage CloudWatch dashboards (list, get, create)
Cloud Watch Logs
Read CloudWatch logs (listGroups, describeStreams, getEvents, filter, query)
Get Cloud Watch Query Results
Get results of a CloudWatch Insights query
Cloud Watch Metrics
Read CloudWatch metrics (list available metrics, get data points)
X Ray Traces
Read X-Ray traces (list summaries, get full trace)
X Ray Insights
Read X-Ray insights (list, get, getEvents)
X Ray Services
Read X-Ray service topology and time-series statistics (graph, timeseries)
Get X Ray Groups
List X-Ray groups
Eks Kubectl
Read and operate on Kubernetes resources on an EKS cluster (get/list/describe/logs/events/top/rollout, plus scale, restart, patch, delete, apply)

支持的资源

75

会出现在你的基础设施图中的资源类型。

Lambda Function
Lambda Layer
EC2 Instance
VPC
Subnet
Security Group
Internet Gateway
NAT Gateway
Route Table
Network ACL
EBS Volume
Elastic IP
S3 Bucket
DynamoDB Table
RDS Instance
CloudFront Distribution
API Gateway REST API
API Gateway v2 API
API Gateway Custom Domain
SQS Queue
SNS Topic
ECS Cluster
ECS Service
ECS Task Definition
ElastiCache Cluster
App Runner Service
App Runner Connection
IAM Role
KMS Key
Kinesis Stream
ElastiCache Replication Group
RDS Cluster
RDS Proxy
Service Discovery Service
Secrets Manager Secret
EventBridge Rule
EventBridge Bus
Step Functions State Machine
Redshift Cluster
Kinesis Firehose
Neptune Cluster
Cognito User Pool
Cognito Identity Pool
Athena Workgroup
Glue Database
Glue Crawler
Glue Job
Batch Job Queue
Batch Compute Environment
Amazon MQ Broker
MSK Cluster
DocumentDB Cluster
MemoryDB Cluster
CloudTrail Trail
GuardDuty Detector
WAF Web ACL
ACM Certificate
EKS Cluster
EKS Node Group
EKS Fargate Profile
EKS Addon
EKS Access Entry
EKS Identity Provider
EKS OIDC Provider
Elasticsearch Domain
OpenSearch Domain
EventBridge Pipe
Amplify App
Application Load Balancer
Network Load Balancer
Gateway Load Balancer
Target Group
Load Balancer Listener
Listener Rule
Glue Table