授权信息

访问控制(RAM)是阿里云提供的管理用户身份与资源访问权限的服务。使用RAM可以让您避免与其他用户共享阿里云账号密钥,并可按需为用户授予最小权限。RAM中使用权限策略描述授权的具体内容。
本文为您介绍全球加速(Ga)为RAM权限策略定义的操作(Action)、资源(Resource)和条件(Condition)。全球加速(Ga)的RAM代码(RamCode)为ga,支持的授权粒度为RESOURCE

权限策略通用结构

权限策略支持JSON格式,其通用结构如下:
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}
各字段含义如下:
  • Effect:权限策略效果。取值:Allow(允许)、Deny(拒绝)。
  • Action:授予允许或拒绝权限的具体操作。具体信息,请参见操作(Action)
  • Resource:受操作影响的具体对象,您可以使用资源ARN来描述指定资源。具体信息,请参见资源(Resource)
  • Condition:指授权生效的条件。可选字段。具体信息,请参见条件(Condition)
    • Condition_operator:条件运算符,不同类型的条件对应不同的条件运算符。具体信息,请参见权限策略基本元素
    • Condition_key:条件关键字。
    • Condition_value:条件关键字对应的值。

操作(Action)

下表是全球加速(Ga)定义的操作,这些操作可以在RAM权限策略语句的Action元素中使用,用来授予执行该操作的权限。下面对表中的具体项提供说明:
  • 操作:是指具体的权限点。
  • API:是指操作对应的API接口。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。该列不体现适用于任何操作的通用条件关键字
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作API访问级别资源类型条件关键字关联操作
ga:DescribeListenerDescribeListenerget
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:DescribeCommodityPriceDescribeCommodityPriceget
全部资源
*
ga:CreateDomainCreateDomaincreate
Domain
acs:ga:{#regionId}:{#accountId}:ga/*
ga:DeleteIpSetsDeleteIpSetsdelete
IpSet
acs:ga:{#regionId}:{#accountId}:ipset/{#ipSetId}
ga:GetIpsetsBandwidthLimitGetIpsetsBandwidthLimitget
全部资源
*
ga:UpdateDomainUpdateDomainupdate
全部资源
*
ga:AttachDdosToAcceleratorAttachDdosToAcceleratorupdate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:ListBasicAccelerateIpsListBasicAccelerateIpslist
BasicAccelerateIp
acs:ga:{#regionId}:{#accountId}:ipset/{#IpSetId}
ga:UpdateBasicEndpointGroupUpdateBasicEndpointGroupupdate
BasicEndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#BasicEndpointGroupId}
ga:ListBandwidthPackagesListBandwidthPackageslist
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/*
ga:UpdateAdditionalCertificateWithListenerUpdateAdditionalCertificateWithListenerupdate
AdditionalCertificate
acs:ga:{#regionId}:{#accountId}:listener/{#ListenerId}
ga:ListEndpointGroupIpAddressCidrBlocksListEndpointGroupIpAddressCidrBlocksget
全部资源
*
ga:DeleteBasicAccelerateIpEndpointRelationDeleteBasicAccelerateIpEndpointRelationdelete
BasicAccelerateIpEndpointRelation
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
BasicAccelerateIpEndpointRelation
acs:ga:{#regionId}:{#accountId}:basicgaip/{#basicgaipId}
BasicAccelerateIpEndpointRelation
acs:ga:{#regionId}:{#accountId}:basicendpoint/{#basicendpointId}
ga:UpdateBasicIpSetUpdateBasicIpSetupdate
BasicIpSet
acs:ga:{#regionId}:{#accountId}:ipset/{#ipsetId}
ga:CreateAcceleratorCreateAcceleratorcreate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/*
ga:BandwidthPackageRemoveAcceleratorBandwidthPackageRemoveAcceleratorupdate
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/{#bandwidthPackageId}
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:DeleteBasicIpSetDeleteBasicIpSetdelete
BasicIpSet
acs:ga:{#regionId}:{#accountId}:ipset/{#BasicIpSetId}
ga:DescribeEndpointGroupDescribeEndpointGroupget
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointGroupId}
ga:UpdateBandwidthPackagaAutoRenewAttributeUpdateBandwidthPackagaAutoRenewAttributeupdate
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:ga/{#BandwidthPackageId}
ga:DeleteAclDeleteAcldelete
Acl
acs:ga:{#regionId}:{#accountId}:acl/{#aclId}
ga:DetectApplicationMonitorDetectApplicationMonitorupdate
ApplicationMonitor
acs:ga:{#regionId}:{#accountId}:sitemonitor/{#TaskId}
ga:CreateBasicAccelerateIpCreateBasicAccelerateIpcreate
BasicAccelerateIp
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
BasicAccelerateIp
acs:ga:{#regionId}:{#accountId}:ipset/*
ga:ListListenerCertificatesListListenerCertificateslist
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:DeleteBasicEndpointDeleteBasicEndpointcreate
BasicEndpoint
acs:ga:{#regionId}:{#accountId}:basicendpoint/{#basicendpointId}
ga:DeleteIpSetDeleteIpSetdelete
IpSet
acs:ga:{#regionId}:{#accountId}:ipset/{#ipSetId}
ga:ListAvailableBusiRegionsListAvailableBusiRegionslist
全部资源
*
ga:DeleteApplicationMonitorDeleteApplicationMonitordelete
全部资源
*
ga:CreateForwardingRulesCreateForwardingRulescreate
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:DescribeLogStoreOfEndpointGroupDescribeLogStoreOfEndpointGroupget
AccessLog
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointgroupId}
ga:RemoveEntriesFromAclRemoveEntriesFromAclupdate
Acl
acs:ga:{#regionId}:{#accountId}:acl/{#aclId}
ga:ListAclsListAclslist
Acl
acs:ga:{#regionId}:{#accountId}:acl/*
ga:EnableApplicationMonitorEnableApplicationMonitorupdate
全部资源
*
ga:ListSpareIpsListSpareIpslist
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:ListApplicationMonitorListApplicationMonitorlist
ApplicationMonitor
acs:ga:{#regionId}:{#accountId}:sitemonitor/*
ga:ListIpSetsListIpSetslist
IpSet
acs:ga:{#regionId}:{#accountId}:ipset/*
ga:DescribeAcceleratorServiceStatusDescribeAcceleratorServiceStatusnone
全部资源
*
ga:CreateIpSetsCreateIpSetscreate
IpSet
acs:ga:{#regionId}:{#accountId}:ipset/*
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:AcceleratorMainland
ga:DescribeCustomRoutingEndpointGroupDescribeCustomRoutingEndpointGroupget
CustomRoutingEndpointGroup
acs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#customroutingendpointgroupId}
ga:ChangeResourceGroupChangeResourceGroupupdate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
Acl
acs:ga:{#regionId}:{#accountId}:acl/{#aclId}
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/{#bandwidthpackageId}
BasicAccelerator
acs:ga:{#regionId}:{#accountId}:ga/{#basicGaId}
ga:BandwidthPackageAddAcceleratorBandwidthPackageAddAcceleratorupdate
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/{#bandwidthPackageId}
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:ListBasicAcceleratorsListBasicAcceleratorslist
BasicAccelerator
acs:ga:{#regionId}:{#accountId}:ga/*
ga:DescribeAcceleratorAutoRenewAttributeDescribeAcceleratorAutoRenewAttributeget
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
ga:DeleteSpareIpsDeleteSpareIpsdelete
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:UpdateBasicAcceleratorUpdateBasicAcceleratorupdate
BasicAccelerator
acs:ga:{#regionId}:{#accountId}:ga/{#BasicAcceleratorId}
ga:ListCustomRoutingPortMappingsByDestinationListCustomRoutingPortMappingsByDestinationlist
CustomRoutingEndpoint
acs:ga:*:{#accountId}:customroutingendpoint/{#customroutingendpointId}
ga:UpdateApplicationMonitorUpdateApplicationMonitorupdate
ApplicationMonitor
acs:ga:{#regionId}:{#accountId}:sitemonitor/{#TaskId}
ga:UpdateAcceleratorCrossBorderModeUpdateAcceleratorCrossBorderModeupdate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
ga:DeleteBasicEndpointGroupDeleteBasicEndpointGroupdelete
BasicEndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#BasicEndpointGroupId}
ga:DescribeBandwidthPackageAutoRenewAttributeDescribeBandwidthPackageAutoRenewAttributeget
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:ga/{#BandwidthPackageId}
ga:UpdateIpSetUpdateIpSetupdate
IpSet
acs:ga:{#regionId}:{#accountId}:ipset/{#ipSetId}
ga:UpdateServiceManagedControlUpdateServiceManagedControlupdate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:UpdateAcceleratorCrossBorderStatusUpdateAcceleratorCrossBorderStatusupdate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
BasicAccelerator
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
ga:GetBasicAccelerateIpGetBasicAccelerateIpget
BasicAccelerateIp
acs:ga:{#regionId}:{#accountId}:basicgaip/{#basicgaipId}
ga:CreateBasicAccelerateIpEndpointRelationCreateBasicAccelerateIpEndpointRelationupdate
BasicAccelerateIpEndpointRelation
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
BasicAccelerateIpEndpointRelation
acs:ga:{#regionId}:{#accountId}:basicgaip/{#basicgaipId}
BasicAccelerateIpEndpointRelation
acs:ga:{#regionId}:{#accountId}:basicendpoint/{#basicendpointId}
ga:DescribeRegionsDescribeRegionsget
BusiRegion
acs:ga:{#regionId}:{#accountId}:region/{#regionId}
ga:ListAccelerateAreasListAccelerateAreaslist
AccelerateArea
acs:ga:{#regionId}:{#accountId}:region/*
ga:AssociateAdditionalCertificatesWithListenerAssociateAdditionalCertificatesWithListenerupdate
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:DetachLogStoreFromEndpointGroupDetachLogStoreFromEndpointGroupupdate
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointgroupId}
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:CreateApplicationMonitorCreateApplicationMonitorcreate
ApplicationMonitor
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
ApplicationMonitor
acs:ga:{#regionId}:{#accountId}:sitemonitor/*
ga:DeleteBasicAccelerateIpDeleteBasicAccelerateIpdelete
BasicAccelerateIp
acs:ga:{#regionId}:{#accountId}:basicgaip/{#basicgaipId}
ga:UpdateBasicEndpointUpdateBasicEndpointupdate
BasicEndpoint
acs:ga:{#regionId}:{#accountId}:basicendpoint/{#EndPointId}
ga:ReplaceBandwidthPackageReplaceBandwidthPackageupdate
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/{#bandwidthPackageId}
ga:ListTagResourcesListTagResourceslist
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/*
Acl
acs:ga:{#regionId}:{#accountId}:acl/*
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/*
BasicAccelerator
acs:ga:{#regionId}:{#accountId}:ga/*
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/*
ga:UpdateCustomRoutingEndpointGroupDestinationsUpdateCustomRoutingEndpointGroupDestinationsupdate
CustomRoutingEndpointGroupDestination
acs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#customroutingendpointgroupId}
ga:UpdateEndpointGroupsUpdateEndpointGroupsupdate
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointgroupId}
ga:DeleteCustomRoutingEndpointGroupDestinationsDeleteCustomRoutingEndpointGroupDestinationsdelete
CustomRoutingEndpointGroupDestination
acs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#EndpointGroupId}
ga:DeleteBasicAcceleratorDeleteBasicAcceleratordelete
BasicAccelerator
acs:ga:{#regionId}:{#accountId}:ga/{#BasicAcceleratorId}
ga:CreateBasicAccelerateIpEndpointRelationsCreateBasicAccelerateIpEndpointRelationsupdate
BasicAccelerateIpEndpointRelation
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
ga:QueryCrossBorderApprovalStatusQueryCrossBorderApprovalStatusget
全部资源
*
ga:UpdateBandwidthPackageUpdateBandwidthPackageupdate
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/{#bandwidthPackageId}
ga:GetBasicAccelerateIpIdleCountGetBasicAccelerateIpIdleCountget
全部资源
*
ga:ListCustomRoutingEndpointTrafficPoliciesListCustomRoutingEndpointTrafficPolicieslist
CustomRoutingEndpointTrafficPolicy
acs:ga:*:{#accountId}:ga/{#gaId}
ga:UpdateEndpointGroupAttributeUpdateEndpointGroupAttributeupdate
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointGroupId}
ga:CreateCustomRoutingEndpointGroupDestinationsCreateCustomRoutingEndpointGroupDestinationscreate
CustomRoutingEndpointGroupDestination
acs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#customroutingendpointgroupId}
ga:DeleteListenerDeleteListenerdelete
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:ListCustomRoutingEndpointGroupDestinationsListCustomRoutingEndpointGroupDestinationslist
CustomRoutingEndpointGroupDestination
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
ga:ListBusiRegionsListBusiRegionslist
BusiRegion
acs:ga:{#regionId}:{#accountId}:region/*
ga:DescribeCustomRoutingEndpointGroupDestinationsDescribeCustomRoutingEndpointGroupDestinationsget
CustomRoutingEndpointGroupDestination
acs:ga:{#regionId}:{#accountId}:destination/{#DestinationId}
ga:DissociateAclsFromListenerDissociateAclsFromListenerupdate
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:DescribeCustomRoutingEndPointTrafficPolicyDescribeCustomRoutingEndPointTrafficPolicyget
CustomRoutingEndpointTrafficPolicy
acs:ga:{#regionId}:{#accountId}:trafficpolicy/{#trafficpolicyId}
ga:ListEndpointGroupsListEndpointGroupslist
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/*
ga:GetBasicAcceleratorGetBasicAcceleratorget
BasicAccelerator
acs:ga:{#regionId}:{#accountId}:ga/{#BasicAcceleratorId}
ga:CreateBandwidthPackageCreateBandwidthPackagecreate
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/*
ga:BandwidthPackageType
ga:UpdateAclAttributeUpdateAclAttributeupdate
Acl
acs:ga:{#regionId}:{#accountId}:acl/{#aclId}
ga:UntagResourcesUntagResourcesupdate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
BasicAccelerator
acs:ga:{#regionId}:{#accountId}:ga/{#basicGaId}
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointgroupId}
Acl
acs:ga:{#regionId}:{#accountId}:acl/{#aclId}
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/{#bandwidthPackageId}
ga:GetAclGetAclget
Acl
acs:ga:{#regionId}:{#accountId}:acl/{#aclId}
ga:CreateCustomRoutingEndpointTrafficPoliciesCreateCustomRoutingEndpointTrafficPoliciescreate
CustomRoutingEndpointTrafficPolicy
acs:ga:{#regionId}:{#accountId}:customroutingendpoint/{#CustomRoutingEndpointId}
ga:ListAvailableAccelerateAreasListAvailableAccelerateAreaslist
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:UpdateListenerUpdateListenerupdate
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:ListDomainsListDomainslist
Domain
acs:ga:{#regionId}:{#accountId}:ga/*
ga:UpdateAcceleratorUpdateAcceleratorupdate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:CreateCustomRoutingEndpointGroupsCreateCustomRoutingEndpointGroupscreate
CustomRoutingEndpointGroup
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
ga:DissociateAdditionalCertificatesFromListenerDissociateAdditionalCertificatesFromListenerupdate
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:UpdateCustomRoutingEndpointsUpdateCustomRoutingEndpointsupdate
CustomRoutingEndpointGroup
acs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#EndpointGroupId}
ga:CreateListenerCreateListenercreate
Listener
acs:ga:{#regionId}:{#accountId}:listener/*
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:TLSVersion
ga:DeleteForwardingRulesDeleteForwardingRulesdelete
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:AddEntriesToAclAddEntriesToAclupdate
Acl
acs:ga:{#regionId}:{#accountId}:acl/{#aclId}
ga:DeleteEndpointGroupsDeleteEndpointGroupsdelete
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointgroupId}
ga:CreateBasicEndpointGroupCreateBasicEndpointGroupcreate
BasicEndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/*
ga:DeleteCustomRoutingEndpointGroupsDeleteCustomRoutingEndpointGroupsdelete
CustomRoutingEndpointGroup
acs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#EndpointGroupId}
CustomRoutingEndpointGroup
acs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#EndpointGroupId}
ga:CreateBasicAcceleratorCreateBasicAcceleratorcreate
BasicAccelerator
acs:ga:{#regionId}:{#accountId}:ga/*
ga:ListCustomRoutingPortMappingsListCustomRoutingPortMappingslist
CustomRoutingPortMapping
acs:ga:*:{#accountId}:ga/{#gaId}
ga:UpdateCustomRoutingEndpointGroupAttributeUpdateCustomRoutingEndpointGroupAttributeupdate
CustomRoutingEndpointGroup
acs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#EndpointGroupId}
ga:DeleteAcceleratorDeleteAcceleratordelete
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:ListForwardingRulesListForwardingRuleslist
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:GetHealthStatusGetHealthStatusget
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:GetInvalidDomainCountGetInvalidDomainCountget
全部资源
*
ga:CreateBasicIpSetCreateBasicIpSetcreate
BasicAccelerator
acs:ga:{#regionId}:{#accountId}:ga/{#BasicAcceleratorId}
BasicIpSet
acs:ga:{#regionId}:{#accountId}:ipset/*
ga:CreateCustomRoutingEndpointsCreateCustomRoutingEndpointscreate
CustomRoutingEndpointGroup
acs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#customroutingendpointgroupId}
ga:DeleteDomainAcceleratorRelationDeleteDomainAcceleratorRelationdelete
Domain
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
ga:GetSpareIpGetSpareIpget
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:CreateEndpointGroupCreateEndpointGroupcreate
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/*
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:AcceleratorMainland
ga:DeleteCustomRoutingEndpointsDeleteCustomRoutingEndpointsdelete
CustomRoutingEndpoint
acs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#customRoutingEndpointGroupId}
ga:ListAcceleratorsListAcceleratorslist
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/*
ga:CreateSpareIpsCreateSpareIpscreate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:ListBandwidthackagesListBandwidthackageslist
全部资源
*
ga:UpdateDomainStateUpdateDomainStateupdate
全部资源
*
ga:UpdateIpSetsUpdateIpSetsupdate
IpSet
acs:ga:{#regionId}:{#accountId}:ipset/{#ipSetId}
ga:OpenAcceleratorServiceOpenAcceleratorServicenone
全部资源
*
ga:AttachLogStoreToEndpointGroupAttachLogStoreToEndpointGroupupdate
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endPointGroupId}
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:ListCustomRoutingEndpointsListCustomRoutingEndpointslist
CustomRoutingEndpoint
acs:ga:*:{#accountId}:ga/{#gaId}
ga:CreateEndpointGroupsCreateEndpointGroupscreate
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/*
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:AcceleratorMainland
ga:GetBasicEndpointGetBasicEndpointget
BasicEndpoint
acs:ga:{#regionId}:{#accountId}:basicendpoint/{#EndPointId}
ga:ListCommonAreasListCommonAreaslist
全部资源
*
ga:ListBasicAccelerateIpEndpointRelationsListBasicAccelerateIpEndpointRelationslist
BasicAccelerateIpEndpointRelation
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
ga:ListCustomRoutingEndpointGroupsListCustomRoutingEndpointGroupslist
CustomRoutingEndpointGroup
acs:ga:*:{#accountId}:ga/{#gaId}
ga:ListApplicationMonitorDetectResultListApplicationMonitorDetectResultlist
全部资源
*
ga:DeleteBandwidthPackageDeleteBandwidthPackagedelete
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/{#bandwidthPackageId}
ga:CreateAclCreateAclcreate
Acl
acs:ga:{#regionId}:{#accountId}:acl/*
ga:UpdateCustomRoutingEndpointTrafficPoliciesUpdateCustomRoutingEndpointTrafficPoliciesupdate
CustomRoutingEndpointTrafficPolicy
acs:ga:{#regionId}:{#accountId}:customroutingendpoint/{#CustomRoutingEndpointTrafficPolicyId}
ga:AssociateAclsWithListenerAssociateAclsWithListenerupdate
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#ListenerId}
ga:CreateBasicEndpointCreateBasicEndpointcreate
BasicEndpoint
acs:ga:{#regionId}:{#accountId}:basicendpoint/*
ga:ListIspTypesListIspTypeslist
全部资源
*
ga:DescribeBandwidthPackageDescribeBandwidthPackageget
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/{#bandwidthPackageId}
ga:UpdateForwardingRulesUpdateForwardingRulesupdate
Listener
acs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
ga:DetachDdosFromAcceleratorDetachDdosFromAcceleratordelete
全部资源
*
ga:DeleteCustomRoutingEndpointTrafficPoliciesDeleteCustomRoutingEndpointTrafficPoliciesdelete
CustomRoutingEndpointTrafficPolicy
acs:ga:{#regionId}:{#accountId}:customroutingendpoint/{#customroutingendpointId}
ga:GetBasicIpSetGetBasicIpSetget
BasicIpSet
acs:ga:{#regionId}:{#accountId}:ipset/{#BasicIpSetId}
ga:DescribeAcceleratorDescribeAcceleratorget
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:UpdateEndpointGroupUpdateEndpointGroupupdate
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointGroupId}
ga:DescribeCustomRoutingEndpointDescribeCustomRoutingEndpointget
CustomRoutingEndpoint
acs:ga:{#regionId}:{#accountId}:customroutingendpoint/{#CustomRoutingEndpointId}
ga:TagResourcesTagResourcesupdate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
Acl
acs:ga:{#regionId}:{#accountId}:acl/{#aclId}
BandwidthPackage
acs:ga:{#regionId}:{#accountId}:bandwidthpackage/{#bandwidthpackageId}
BasicAccelerator
acs:ga:{#regionId}:{#accountId}:ga/{#basicGaId}
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#EndpointGroupId}
ga:ListListenersListListenerslist
Listener
acs:ga:{#regionId}:{#accountId}:listener/*
ga:DisableApplicationMonitorDisableApplicationMonitorupdate
ApplicationMonitor
acs:ga:{#regionId}:{#accountId}:sitemonitor/{#sitemonitorId}
ga:UpdateAcceleratorConfirmUpdateAcceleratorConfirmupdate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
ga:ConfigEndpointProbeConfigEndpointProbeupdate
全部资源
*
ga:ListBasicEndpointsListBasicEndpointslist
BasicEndpoint
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#EndpointGroupId}
ga:DescribeIpSetDescribeIpSetget
IpSet
acs:ga:{#regionId}:{#accountId}:ipset/{#ipSetId}
ga:UpdateAcceleratorAutoRenewAttributeUpdateAcceleratorAutoRenewAttributeupdate
Accelerator
acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
ga:GetBasicEndpointGroupGetBasicEndpointGroupget
BasicEndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#BasicEndpointGroupId}
ga:DescribeCommodityDescribeCommodityget
全部资源
*
ga:CreateBasicEndpointsCreateBasicEndpointscreate
BasicEndpoint
acs:ga:{#regionId}:{#accountId}:basicendpoint/*
ga:ListSystemSecurityPoliciesListSystemSecurityPolicieslist
SystemSecurityPolicy
acs:ga:{#regionId}:{#accountId}:ga/*
ga:DescribeApplicationMonitorDescribeApplicationMonitorget
ApplicationMonitor
acs:ga:{#regionId}:{#accountId}:sitemonitor/{#TaskId}
ga:GetBasicAccelerateIpEndpointRelationGetBasicAccelerateIpEndpointRelationget
BasicAccelerateIpEndpointRelation
acs:ga:{#regionId}:{#accountId}:basicendpoint/{#basicendpointId}
BasicAccelerateIp
acs:ga:{#regionId}:{#accountId}:basicgaip/{#basicgaipId}
ga:DeleteEndpointGroupDeleteEndpointGroupdelete
EndpointGroup
acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointGroupId}

资源(Resource)

下表是全球加速(Ga)定义的资源,这些资源可以在RAM权限策略语句的Resource元素中使用,用来授予对该资源执行具体操作的权限。 其中,资源ARN是资源在阿里云上的唯一标识。具体说明如下:
  • {#}为变量标识,需要您替换为实际值。例如:{#ramcode}需要您替换为实际的云服务RAM代码。
  • *表示全部。例如:
    • {#resourceType}*时:表示全部资源。
    • {#regionId}*时:表示全部地域。
    • {#accountId}*时:表示全部阿里云账号。
资源类型资源ARN
Listeneracs:ga:{#regionId}:{#accountId}:listener/{#listenerId}
Domainacs:ga:{#regionId}:{#accountId}:ga/*
IpSetacs:ga:{#regionId}:{#accountId}:ipset/{#ipSetId}
Acceleratoracs:ga:{#regionId}:{#accountId}:accelerator/{#AcceleratorId}
Acceleratoracs:ga:{#regionId}:{#accountId}:ga/{#acceleratorId}
BasicAccelerateIpacs:ga:{#regionId}:{#accountId}:ipset/{#IpSetId}
BasicEndpointGroupacs:ga:{#regionId}:{#accountId}:endpointgroup/{#BasicEndpointGroupId}
BandwidthPackageacs:ga:{#regionId}:{#accountId}:bandwidthpackage/*
AdditionalCertificateacs:ga:{#regionId}:{#accountId}:listener/{#ListenerId}
BasicAccelerateIpEndpointRelationacs:ga:{#regionId}:{#accountId}:ga/{#gaId}
BasicAccelerateIpEndpointRelationacs:ga:{#regionId}:{#accountId}:basicgaip/{#basicgaipId}
BasicAccelerateIpEndpointRelationacs:ga:{#regionId}:{#accountId}:basicendpoint/{#basicendpointId}
BasicIpSetacs:ga:{#regionId}:{#accountId}:ipset/{#ipsetId}
Acceleratoracs:ga:{#regionId}:{#accountId}:ga/*
BandwidthPackageacs:ga:{#regionId}:{#accountId}:bandwidthpackage/{#bandwidthPackageId}
BasicIpSetacs:ga:{#regionId}:{#accountId}:ipset/{#BasicIpSetId}
EndpointGroupacs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointGroupId}
BandwidthPackageacs:ga:{#regionId}:{#accountId}:ga/{#BandwidthPackageId}
Aclacs:ga:{#regionId}:{#accountId}:acl/{#aclId}
ApplicationMonitoracs:ga:{#regionId}:{#accountId}:sitemonitor/{#TaskId}
BasicAccelerateIpacs:ga:{#regionId}:{#accountId}:ga/{#gaId}
BasicAccelerateIpacs:ga:{#regionId}:{#accountId}:ipset/*
BasicEndpointacs:ga:{#regionId}:{#accountId}:basicendpoint/{#basicendpointId}
AccessLogacs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointgroupId}
Aclacs:ga:{#regionId}:{#accountId}:acl/*
ApplicationMonitoracs:ga:{#regionId}:{#accountId}:sitemonitor/{#sitemonitorId}
ApplicationMonitoracs:ga:{#regionId}:{#accountId}:sitemonitor/*
IpSetacs:ga:{#regionId}:{#accountId}:ipset/*
CustomRoutingEndpointGroupacs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#customroutingendpointgroupId}
Acceleratoracs:ga:{#regionId}:{#accountId}:ga/{#gaId}
BandwidthPackageacs:ga:{#regionId}:{#accountId}:bandwidthpackage/{#bandwidthpackageId}
BasicAcceleratoracs:ga:{#regionId}:{#accountId}:ga/{#basicGaId}
BasicAcceleratoracs:ga:{#regionId}:{#accountId}:ga/*
BasicAcceleratoracs:ga:{#regionId}:{#accountId}:ga/{#BasicAcceleratorId}
CustomRoutingEndpointacs:ga:*:{#accountId}:customroutingendpoint/{#customroutingendpointId}
BasicAcceleratoracs:ga:{#regionId}:{#accountId}:ga/{#gaId}
BasicAccelerateIpacs:ga:{#regionId}:{#accountId}:basicgaip/{#basicgaipId}
BusiRegionacs:ga:{#regionId}:{#accountId}:region/{#regionId}
AccelerateAreaacs:ga:{#regionId}:{#accountId}:region/*
EndpointGroupacs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointgroupId}
ApplicationMonitoracs:ga:{#regionId}:{#accountId}:ga/{#gaId}
BasicEndpointacs:ga:{#regionId}:{#accountId}:basicendpoint/{#EndPointId}
EndpointGroupacs:ga:{#regionId}:{#accountId}:endpointgroup/*
CustomRoutingEndpointGroupDestinationacs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#customroutingendpointgroupId}
CustomRoutingEndpointGroupDestinationacs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#EndpointGroupId}
CustomRoutingEndpointTrafficPolicyacs:ga:*:{#accountId}:ga/{#gaId}
CustomRoutingEndpointGroupDestinationacs:ga:{#regionId}:{#accountId}:ga/{#gaId}
BusiRegionacs:ga:{#regionId}:{#accountId}:region/*
CustomRoutingEndpointGroupDestinationacs:ga:{#regionId}:{#accountId}:destination/{#DestinationId}
CustomRoutingEndpointTrafficPolicyacs:ga:{#regionId}:{#accountId}:trafficpolicy/{#trafficpolicyId}
CustomRoutingEndpointTrafficPolicyacs:ga:{#regionId}:{#accountId}:customroutingendpoint/{#CustomRoutingEndpointId}
CustomRoutingEndpointGroupacs:ga:{#regionId}:{#accountId}:ga/{#gaId}
CustomRoutingEndpointGroupacs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#EndpointGroupId}
Listeneracs:ga:{#regionId}:{#accountId}:listener/*
BasicEndpointGroupacs:ga:{#regionId}:{#accountId}:endpointgroup/*
CustomRoutingPortMappingacs:ga:*:{#accountId}:ga/{#gaId}
BasicIpSetacs:ga:{#regionId}:{#accountId}:ipset/*
Domainacs:ga:{#regionId}:{#accountId}:ga/{#gaId}
CustomRoutingEndpointacs:ga:{#regionId}:{#accountId}:customroutingendpointgroup/{#customRoutingEndpointGroupId}
EndpointGroupacs:ga:{#regionId}:{#accountId}:endpointgroup/{#endPointGroupId}
CustomRoutingEndpointacs:ga:*:{#accountId}:ga/{#gaId}
CustomRoutingEndpointGroupacs:ga:*:{#accountId}:ga/{#gaId}
CustomRoutingEndpointTrafficPolicyacs:ga:{#regionId}:{#accountId}:customroutingendpoint/{#CustomRoutingEndpointTrafficPolicyId}
Listeneracs:ga:{#regionId}:{#accountId}:listener/{#ListenerId}
eipacs:ga:{#regionId}:{#accountId}:eip/*
BasicEndpointacs:ga:{#regionId}:{#accountId}:basicendpoint/*
CustomRoutingEndpointGroupacs:ga:{#regionId}:{#AccountId}:customroutingendpointgroup/*
CustomRoutingEndpointTrafficPolicyacs:ga:{#regionId}:{#accountId}:customroutingendpoint/{#customroutingendpointId}
CustomRoutingEndpointacs:ga:{#regionId}:{#accountId}:customroutingendpoint/{#CustomRoutingEndpointId}
EndpointGroupacs:ga:{#regionId}:{#accountId}:endpointgroup/{#EndpointGroupId}
BasicEndpointacs:ga:{#regionId}:{#accountId}:endpointgroup/{#EndpointGroupId}
SystemSecurityPolicyacs:ga:{#regionId}:{#accountId}:ga/*

条件(Condition)

下表是全球加速(Ga)定义的产品级条件关键字,这些条件关键字可以在RAM权限策略语句的Condition元素中使用,用来描述授予权限的条件。以下仅列举产品级的条件关键字,阿里云定义的通用条件关键字也同样适用全球加速(Ga)
其中,数据类型决定了您可以使用哪些条件运算符将请求中的值与权限策略语句中的值进行比较。您必须使用与数据类型匹配的条件运算符,否则无法匹配策略语句,授权行为无效。数据类型与条件运算符的对应关系,请参见条件操作类型
条件关键字描述类型
ga:AcceleratorMainland加速区域String
ga:BandwidthPackageType带宽包类型String
ga:TLSVersionTLS版本支持String

相关操作

您可以创建自定义权限策略,并将权限策略授予RAM用户、RAM用户组或RAM角色。具体操作如下: