View a markdown version of this page

Amazon Route 53 Profiles 的操作、资源和条件键 - 服务授权参考
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)。

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

Amazon Route 53 Profiles 的操作、资源和条件键

亚马逊 Route 53 配置文件(服务前缀: route53profiles) 提供以下特定服务的操作、资源、操作和条件密钥,用于 IAM 权限策略。

参考:

亚马逊 Route 53 配置文件定义的 API 操作

下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作静态值的条件密钥;有关每个操作支持的全套条件密钥,请参阅 操作表。

操作 IAM 操作 条件键 可能的值 访问级别

AssociateProfile

route53profiles:AssociateProfile

写入

route53profiles:TagResource

标记、写入

AssociateResourceToProfile

route53profiles:AssociateResourceToProfile

写入

CreateProfile

route53profiles:CreateProfile

写入

route53profiles:TagResource

标记、写入

DeleteProfile

route53profiles:DeleteProfile

写入

DisassociateProfile

route53profiles:DisassociateProfile

写入

DisassociateResourceFromProfile

route53profiles:DisassociateResourceFromProfile

写入

GetProfile

route53profiles:GetProfile

读取

GetProfileAssociation

route53profiles:GetProfileAssociation

读取

GetProfileResourceAssociation

route53profiles:GetProfileResourceAssociation

读取

ListProfileAssociations

route53profiles:ListProfileAssociations

列表

ListProfileResourceAssociations

route53profiles:ListProfileResourceAssociations

列表

ListProfiles

route53profiles:ListProfiles

列表

ListTagsForResource

route53profiles:ListTagsForResource

列表

TagResource

route53profiles:TagResource

标记、写入

UntagResource

route53profiles:UntagResource

标记、写入

UpdateProfileResourceAssociation

route53profiles:UpdateProfileResourceAssociation

写入

Amazon Route 53 Profiles 定义的操作

您可以在 IAM 策略语句的 Action 元素中指定以下操作。对于每个操作,该表列出了该操作支持的资源类型和条件键。可以使用策略授予在 Amazon中执行操作的权限。您在策略中使用一项操作时,通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下,单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。

操作 说明 资源类型(* 为必需) 条件键 访问级别

AssociateProfile

授予权限以将配置文件关联到客户 VPC

aws:RequestTag/${TagKey}

aws:TagKeys

route53profiles:ResourceIds

写入

AssociateResourceToProfile

授予权限以将资源(例如 DNS 防火墙规则组、私有托管区域、解析器规则等)关联到指定配置文件

route53profiles:FirewallRuleGroupPriority

route53profiles:HostedZoneDomains

route53profiles:ResolverRuleDomains

route53profiles:ResourceArns

route53profiles:ResourceTypes

写入

CreateProfile

授予权限以创建新的配置文件资源

aws:RequestTag/${TagKey}

aws:TagKeys

写入

DeleteProfile

授予删除指定配置文件的权限 ProfileId

写入

DisassociateProfile

授予权限以删除客户 VPC 与指定配置文件之间的关联

route53profiles:ResourceIds

写入

DisassociateResourceFromProfile

授予权限以删除资源(例如 DNS 防火墙规则组、私有托管区域、解析器规则等)与指定配置文件之间的关联

route53profiles:FirewallRuleGroupPriority

route53profiles:HostedZoneDomains

route53profiles:ResolverRuleDomains

route53profiles:ResourceArns

route53profiles:ResourceTypes

写入

GetProfile

授予权限以获取配置文件

读取

GetProfileAssociation

授予权限以获取配置文件关联 ID 指定的配置文件与 VPC 关联

读取

GetProfileResourceAssociation

授予权限以获取基于的配置文件资源关联 ProfileResourceAssociationId

读取

ListProfileAssociations

授予权限以列出指定配置文件关联的所有 VPC

列表

ListProfileResourceAssociations

授予权限以列出给定配置文件 ID 的资源之间的所有关联,例如 DNS 防火墙规则组、私有托管区域、解析器规则等

列表

ListProfiles

授予权限以列出由客户创建和共享给客户的所有配置文件

列表

ListTagsForResource

授予权限以列出与资源关联的所有标签

列表

TagResource

授予权限以将标签添加到给定资源

profile

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

profile-association

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

授予权限以从给定资源中删除标签

profile

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

profile-association

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateProfileResourceAssociation

授予权限以更新配置文件资源关联名称或资源属性或两者,如果名称和资源属性均为空,则 API 将返回现有的配置文件资源关联

route53profiles:FirewallRuleGroupPriority

route53profiles:HostedZoneDomains

route53profiles:ResolverRuleDomains

route53profiles:ResourceTypes

写入

Permission-only 亚马逊 Route 53 配置文件的操作

以下操作由 Amazon Route 53 配置文件定义,但不能通过任何 API 操作直接调用。它们只能在 IAM 政策声明中用于授予或拒绝权限。

操作 说明 资源类型(* 为必需) 条件键 访问级别

GetProfilePolicy

授予权限以读取配置文件的 RAM 访问控制策略

profile*

aws:ResourceTag/${TagKey}

读取

PutProfilePolicy

授予权限以定义配置文件的 RAM 访问控制策略

profile*

aws:ResourceTag/${TagKey}

写入

Amazon Route 53 Profiles 定义的资源类型

以下资源类型是由该服务定义的,可以在 IAM 权限策略语句的 Resource 元素中使用这些资源类型。

资源类型 ARN 条件键

profile

arn:${Partition}:route53profiles:${Region}:${Account}:profile/${ResourceId}

aws:ResourceTag/${TagKey}

profile-association

arn:${Partition}:route53profiles:${Region}:${Account}:profile-association/${ResourceId}

aws:ResourceTag/${TagKey}

Amazon Route 53 Profiles 的条件键

Amazon Route 53 Profiles 定义以下可在 IAM 策略的 Condition 元素中使用的条件键。

条件键 描述 类型

aws:RequestTag/${TagKey}

根据在请求中是否具有标签键值对来筛选访问权限

String

aws:ResourceTag/${TagKey}

按是否存在附加到资源的标签键值对筛选访问权限

String

aws:TagKeys

根据在请求中是否具有标签键来筛选访问

ArrayOfString

route53profiles:FirewallRuleGroupPriority

按防火墙规则组的优先级范围筛选访问权限

Numeric

route53profiles:HostedZoneDomains

按托管区域域筛选访问权限

String

route53profiles:ResolverRuleDomains

按解析器规则域筛选访问权限

String

route53profiles:ResourceArns

按特定资源 ARN 筛选访问权限

ARN

route53profiles:ResourceIds

筛选给定 VPC 的访问权限

String

route53profiles:ResourceTypes

按特定资源类型筛选访问权限。可能的选项包括 'HostedZone','FirewallRuleGroup','ResolverQueryLoggingConfig','ResolverRule',和'VpcEndpoint'

String