AWS 服务的操作、资源和条件键
每个AWS服务可以定义操作、资源和条件上下文键以在 IAM policy 中使用。本主题介绍如何记录为每项服务提供的元素。
每个主题由各个表组成,而表提供可用操作、资源和条件键的列表。
操作表
操作表列出所有可以在 IAM policy语句的 Action
元素中使用的操作。并非服务定义的所有 API 操作都可以用作 IAM policy 中的操作。某些服务包括与 API 操作不直接对应的仅限权限的操作。这些操作以 [仅限权限] 表示。使用此列表可确定哪些操作可用于 IAM policy 中。有关 Action
、Resource
或 Condition
元素的更多信息,请参阅 IAM JSON 策略元素参考。操作和描述表列是自描述性的。
-
访问级别列描述如何对操作进行分类(列出、读取、写入、权限管理或标记)。此分类可以帮助您了解当您在策略中使用操作时,相应操作授予的访问级别。有关访问级别的更多信息,请参阅了解策略摘要内的访问级别摘要。
-
资源类型列指示操作是否支持资源级权限。如果该列为空,则操作不支持资源级权限,并且您必须在策略中指定所有资源(“*”)。如果该列包含一种资源类型,则可以在策略的
Resource
元素中指定资源 ARN。有关资源的更多信息,请参阅资源类型表中相应的行。一个语句中包括的所有操作和资源必须相互兼容。如果您指定的资源对操作无效,则任何使用该操作的请求都会失败,并且语句的Effect
不适用。必需资源在表中以星号 (*) 表示。如果在使用该操作的语句中指定资源级权限 ARN,则它必须属于该类型。某些操作支持多种资源类型。如果资源类型是可选的(未指示为必需),则可以选择使用一种类型而不使用其他类型。
-
条件键列包括可以在策略语句的
Condition
元素中指定的键。可能支持将条件键与操作或操作和特定资源一起使用。请密切注意该键是否与特定资源类型位于同一行中。该表不包括适用于任何操作或不相关情况的全局条件键。有关全局条件键的更多信息,请参阅AWS全局条件上下文键。 -
除了操作本身的权限以外,相关操作列还包括成功调用该操作所应该具有的任何其他权限。如果操作访问多个资源,这可能是必需的。
并非在所有情况下都需要相关操作。有关为用户提供精细权限的更多信息,请参阅各个服务的文档。
资源类型表
资源类型表列出您可以在 Resource
策略元素中指定为 ARN 的所有资源类型。并非可以为每个操作指定每种资源类型。某些资源类型仅适用于某些操作。如果在语句中指定一种资源类型并且操作不支持该资源类型,则该语句不允许访问。有关 Resource
元素的更多信息,请参阅 IAM JSON 策略元素:Resource。
条件键表
条件键表列出可以在 IAM policy 语句的 Condition
元素中使用的所有条件上下文键。并非可以对每个操作或资源指定每个键。某些键仅适用于特定类型的操作和资源。有关 Condition
元素的更多信息,请参阅 IAM JSON 策略元素:Condition。
主题
- AWS 账户管理
- AWS Activate
- Alexa for Business
- AmazonMediaImport
- AWS Amplify
- AWS Amplify 管理员
- AWS Amplify UI Builder
- 适用于 Amazon MSK 集群的 Apache Kafka API
- Amazon API Gateway
- Amazon API Gateway 管理
- Amazon API Gateway 管理第 2 版
- AWS App Mesh
- AWS App Mesh(预览版)
- AWS App Runner
- AWS App Studio
- AWS App2Container
- AWS AppConfig
- AWS AppFabric
- Amazon AppFlow
- Amazon AppIntegrations
- AWS Application Auto Scaling
- AWS Application Cost Profiler 服务
- Application Discovery Arsenal
- AWS Application Discovery Service
- AWS Application Migration Service
- AWS Application Transformation Service
- Amazon AppStream 2.0
- AWS AppSync
- AWS Artifact
- Amazon Athena
- AWS Audit Manager
- AWS Auto Scaling
- AWS B2B Data Interchange
- AWS Backup
- AWS Backup Gateway
- AWS Backup 存储
- AWS Batch
- Amazon Bedrock
- AWS Billing
- AWS Billing 与成本管理数据导出
- AWS Billing Conductor
- AWS Billing 控制台
- Amazon Braket
- AWS Budget Service
- AWS BugBust
- AWS Certificate Manager
- AWS Chatbot
- Amazon Chime
- AWS Clean Rooms
- AWS Clean Rooms ML
- AWS Cloud Control API
- Amazon Cloud Directory
- AWS Cloud Map
- AWS Cloud9
- AWS CloudFormation
- Amazon CloudFront
- Amazon CloudFront KeyValueStore
- AWS CloudHSM
- Amazon CloudSearch
- AWS CloudShell
- AWS CloudTrail
- AWS CloudTrail 数据
- Amazon CloudWatch
- Amazon CloudWatch Application Insights
- Amazon CloudWatch Application Signals
- Amazon CloudWatch Evidently
- Amazon CloudWatch Internet Monitor
- Amazon CloudWatch Logs
- Amazon CloudWatch 网络监视器
- Amazon CloudWatch Observability Access Manager
- AWS CloudWatch RUM
- Amazon CloudWatch Synthetics
- AWS CodeArtifact
- AWS CodeBuild
- Amazon CodeCatalyst
- AWS CodeCommit
- AWS CodeConnections
- AWS CodeDeploy
- AWS CodeDeploy 安全主机命令服务
- Amazon CodeGuru
- Amazon CodeGuru Profiler
- Amazon CodeGuru Reviewer
- Amazon CodeGuru Security
- AWS CodePipeline
- AWS CodeStar
- AWS CodeStar 连接
- AWS CodeStar 通知
- Amazon CodeWhisperer
- Amazon Cognito Identity
- Amazon Cognito 同步
- Amazon Cognito User Pools
- Amazon Comprehend
- Amazon Comprehend Medical
- AWS Compute Optimizer
- AWS Config
- Amazon Connect
- Amazon Connect Cases
- Amazon Connect Customer Profiles
- Amazon Connect Voice ID
- AWS Connector Service
- AWS Management Console 移动应用
- AWS 整合账单
- AWS Control Catalog
- AWS Control Tower
- AWS 成本和使用率报告
- AWS Cost Explorer 服务
- AWS 成本优化中心
- AWS 客户验证服务
- AWS Data Exchange
- Amazon Data Lifecycle Manager
- AWS Data Pipeline
- AWS Database Migration Service
- Database Query Metadata Service
- AWS DataSync
- Amazon DataZone
- AWS Deadline Cloud
- AWS DeepComposer
- AWS DeepLens
- AWS DeepRacer
- Amazon Detective
- AWS Device Farm
- Amazon DevOps Guru
- AWS 诊断工具
- AWS Direct Connect
- AWS Directory Service
- AWS Directory Service Data
- Amazon DocumentDB Elastic Clusters
- Amazon DynamoDB
- Amazon DynamoDB Accelerator (DAX)
- Amazon EC2
- Amazon EC2 Auto Scaling
- Amazon EC2 Image Builder
- Amazon EC2 Instance Connect
- Amazon EKS Auth
- AWS Elastic Beanstalk
- Amazon Elastic Block Store
- Amazon Elastic Container Registry
- Amazon Elastic Container Registry Public
- Amazon Elastic Container Service
- AWS Elastic Disaster Recovery
- Amazon Elastic File System
- Amazon Elastic Inference
- Amazon Elastic Kubernetes Service
- AWS Elastic Load Balancing
- AWS Elastic Load Balancing V2
- Amazon Elastic MapReduce
- Amazon Elastic Transcoder
- Amazon ElastiCache
- AWS Elemental Appliances and Software
- AWS Elemental Appliances and Software 激活服务
- AWS Elemental MediaConnect
- AWS Elemental MediaConvert
- AWS Elemental MediaLive
- AWS Elemental MediaPackage
- AWS Elemental MediaPackage V2
- AWS Elemental MediaPackage VOD
- AWS Elemental MediaStore
- AWS Elemental MediaTailor
- AWS Elemental Support Cases
- AWS Elemental Support Content
- Amazon EMR 在 EKS 上(EMR 容器)
- Amazon EMR Serverless
- AWS 最终用户消息社交
- AWS Entity Resolution
- Amazon EventBridge
- Amazon EventBridge Pipes
- Amazon EventBridge 调度器
- Amazon EventBridge Schemas
- AWS 错误注入服务
- Amazon FinSpace
- Amazon FinSpace API
- AWS Firewall Manager
- Amazon Forecast
- Amazon Fraud Detector
- AWS免费套餐
- Amazon FreeRTOS
- Amazon FSx
- Amazon GameLift
- AWS Global Accelerator
- AWS Glue
- AWS Glue DataBrew
- AWS Ground Station
- Amazon GroundTruth Labeling
- Amazon GuardDuty
- AWS Health APIs and Notifications
- AWS HealthImaging
- AWS HealthLake
- AWS HealthOmics
- 大容量出站通信
- Amazon Honeycode
- AWS IAM Access Analyzer
- AWS IAM Identity Center(AWS Single Sign-On 的后继者)
- AWS IAM Identity Center(AWS Single Sign-On 的后继者)目录
- AWS IAM Identity Center OIDC 服务
- AWS Identity and Access Management(IAM)
- AWS Identity and Access Management Roles Anywhere
- AWS Identity Store
- AWS Identity Store Auth
- AWS Identity Sync
- AWS Import Export Disk Service
- Amazon Inspector
- Amazon Inspector2
- Amazon InspectorScan
- Amazon Interactive Video Service
- Amazon Interactive Video Service Chat
- AWS Invoicing Service
- AWS IoT
- AWSIoT 1-Click
- AWS IoT Analytics
- AWS IoT Core Device Advisor
- AWS IoT Device Tester
- AWS IoT Events
- AWS IoT Fleet Hub for Device Management
- AWS IoT FleetWise
- AWS IoT Greengrass
- AWS IoT Greengrass V2
- AWS IoT Jobs DataPlane
- AWS IoT SiteWise
- AWS IoT TwinMaker
- AWS IoT Wireless
- AWS IQ
- AWS IQ Permissions
- Amazon Kendra
- Amazon Kendra Intelligent Ranking
- AWS Key Management Service
- Amazon Keyspaces(针对 Apache Cassandra)
- Amazon Kinesis Analytics
- Amazon Kinesis Analytics V2
- Amazon Kinesis Data Streams
- Amazon Kinesis Firehose
- Amazon Kinesis Video Streams
- AWS Lake Formation
- AWS Lambda
- AWS Launch Wizard
- Amazon Lex
- Amazon Lex V2
- AWS License Manager
- AWS License Manager Linux Subscriptions Manager
- AWS License Manager User Subscriptions
- Amazon Lightsail
- Amazon Location
- Amazon Lookout for Equipment
- Amazon Lookout for Metrics
- Amazon Lookout for Vision
- Amazon Machine Learning
- Amazon Macie
- AWS Mainframe Modernization 应用程序测试
- AWS Mainframe Modernization Service
- Amazon Managed Blockchain
- Amazon Managed Blockchain 查询
- Amazon Managed Grafana
- Amazon Managed Service for Prometheus
- Amazon Managed Streaming for Apache Kafka
- Amazon Managed Streaming for Kafka Connect
- Amazon Managed Workflows for Apache Airflow
- AWS Marketplace
- AWS Marketplace Catalog
- AWS Marketplace Commerce Analytics Service
- AWS Marketplace Deployment Service
- AWS Marketplace 发现
- AWS Marketplace 权限服务
- AWS Marketplace Image Building Service
- AWS Marketplace Management Portal
- AWS Marketplace Metering Service
- AWS Marketplace Private Marketplace
- AWS Marketplace Procurement Systems Integration
- AWS Marketplace Reporting
- AWS Marketplace Seller Reporting
- AWS Marketplace Vendor Insights
- Amazon Mechanical Turk
- Amazon 内存 DB
- Amazon Message Delivery Service
- Amazon Message Gateway Service
- AWS Microservice Extractor for .NET
- AWS Migration Acceleration Program Credits
- AWS Migration Hub
- AWS Migration Hub Orchestrator
- AWS Migration Hub Refactor Spaces
- AWS Migration Hub 策略建议
- Amazon Mobile Analytics
- Amazon Monitron
- Amazon MQ
- Amazon Neptune
- Amazon Neptune Analytics
- AWS Network Firewall
- AWS 网络管理器
- AWS Network Manager Chat
- Amazon Nimble Studio
- Amazon One Enterprise
- Amazon OpenSearch Ingestion
- Amazon OpenSearch Serverless
- Amazon OpenSearch Service
- AWS OpsWorks
- AWS OpsWorks 配置管理
- AWS Organizations
- AWS Outposts
- AWS Panorama
- AWS Parallel Computing Service
- AWS 合作伙伴中央账户管理
- AWS 支付加密
- AWS Payments
- AWS Performance Insights
- Amazon Personalize
- Amazon Pinpoint
- Amazon Pinpoint 电子邮件服务
- Amazon Pinpoint SMS and Voice Service
- Amazon Pinpoint SMS Voice V2
- Amazon Polly
- AWS 价目表
- AWS Private CA Connector for Active Directory
- AWS Private CA Connector for SCEP
- AWS Private Certificate Authority
- AWS Proton
- AWS 采购订单控制台
- Amazon Q
- Amazon Q Business
- Amazon Q 企业版 Q 应用
- Amazon Q in Connect
- Amazon QLDB
- Amazon QuickSight
- Amazon RDS
- Amazon RDS Data API
- Amazon RDS IAM 身份验证
- AWS re:Post Private
- AWS Recycle Bin
- Amazon Redshift
- Amazon Redshift 数据 API
- Amazon Redshift Serverless
- Amazon Rekognition
- AWS Resilience Hub
- AWS Resource Access Manager(RAM)
- AWS Resource Explorer
- Amazon Resource Group Tagging API
- AWS Resource Groups
- Amazon RHEL 知识库门户
- AWS RoboMaker
- Amazon Route 53
- Amazon Route 53 Application Recovery Controller - Zonal Shift
- Amazon Route 53 Domains
- Amazon Route 53 Profiles
- Amazon Route 53 Recovery 集群
- Amazon Route 53 Recovery 控制
- Amazon Route 53 Recovery 就绪性
- Amazon Route 53 Resolver
- Amazon S3
- Amazon S3 Express
- Amazon S3 Glacier
- Amazon S3 Object Lambda
- Amazon S3 on Outposts
- Amazon SageMaker
- Amazon SageMaker 地理空间功能
- Amazon SageMaker Ground Truth Synthetic
- 带有 MLflow 的 Amazon SageMaker
- AWS Savings Plans
- AWS Secrets Manager
- AWS Security Hub
- Amazon Security Lake
- AWS Security Token Service
- AWS Server Migration Service
- AWS Serverless Application Repository
- AWS Service Catalog
- 提供托管私有网络的 AWS 服务
- Service Quotas
- Amazon SES
- AWS Shield
- AWS Signer
- AWS Signin
- Amazon Simple Email Service ‐ Mail Manager
- Amazon Simple Email Service v2
- Amazon Simple Workflow Service
- Amazon SimpleDB
- AWS SimSpace Weaver
- AWS Snow Device Management
- AWS Snowball
- Amazon SNS
- AWS SQL Workbench
- Amazon SQS
- AWS Step Functions
- AWS Storage Gateway
- AWS Supply Chain
- AWS Support
- Slack 中的 AWS Support App
- AWS Support Plans
- AWS Support 建议
- AWS Sustainability
- AWS Systems Manager
- AWS Systems Manager for SAP
- AWS Systems Manager GUI Connect
- AWS Systems Manager Incident Manager
- AWS Systems Manager Incident Manager 联系人
- AWS Systems Manager 快速设置功能
- 标签编辑器
- AWS 税务设置
- AWS Telco Network Builder
- Amazon Textract
- Amazon Timestream
- Amazon Timestream InfluxDB
- AWS Tiros
- Amazon Transcribe
- AWS Transfer Family
- Amazon Translate
- AWS Trusted Advisor
- AWS 用户通知
- AWS 用户通知联系人
- AWS User Subscriptions
- AWS Verified Access
- Amazon Verified Permissions
- Amazon VPC Lattice
- Amazon VPC Lattice Services
- AWS WAF
- AWS WAF Regional
- AWS WAF V2
- AWS Well-Architected Tool
- AWS Wickr
- Amazon WorkDocs
- Amazon WorkLink
- Amazon WorkMail
- Amazon WorkMail Message Flow
- Amazon WorkSpaces
- Amazon WorkSpaces Application Manager
- Amazon WorkSpaces Secure Browser
- Amazon WorkSpaces 瘦客户端
- AWS X-Ray