All Products
Search
Document Center

Elastic IP Address (EIP)

Last Updated: Sep 30, 2021

Resource Access Management (RAM) users or RAM roles must be granted permissions before they can access cloud resources. RAM uses policies to define permissions. A cloud service defines elements that can be used in a policy statement, such as Action, Resource, and Condition. This topic describes the permissions on Elastic IP Address (EIP).

The code (RamCode) in RAM that is used to indicate Elastic IP Address is vpc. You can grant permissions on Elastic IP Address at the resource level.

Action

The following table describes the values that you can use in the Action element of a policy statement. The values are defined by Elastic IP Address. The following list describes the columns in the table:
  • Action: the value that you can use in the Action element to specify the operation on a resource.

  • API: the API operation that you can call to perform the action. In most cases, only one API operation of a cloud service is required to perform an action. In some cases, multiple API operations must be called to perform an action, or an API operation can be called to perform multiple actions.

  • Access level: the access level of each action. The levels are read, write, and list.

  • Resource type: the type of the resource on which you can authorize a RAM user or a RAM role to perform the operation. Take note of the following items:

    • The required resource types are displayed in bold characters.

    • If the permissions cannot be granted at the resource level, All resources is used in the Resource type column of the action.

  • Condition key: the condition keys that are defined by a cloud service. The Condition key column does not list the common condition keys that are defined by Alibaba Cloud. For more information about the common condition keys, see Policy elements.

  • Dependent action: other actions that a RAM user or a RAM role must have permissions to perform the action. To successfully call the action, a RAM user or a RAM role must have the permissions to perform the dependent action.

Actions

APIs

Access level

Resource types

Condition keys

Dependent actions

vpc:AllocateEipAddress

AllocateEipAddress

WRITE


Address


acs:vpc:{#regionId}:{#accountId}:eip/*


N/A

N/A

vpc:AllocateEipAddressPro

AllocateEipAddressPro

WRITE


Address


acs:vpc:{#regionId}:{#accountId}:eip/*


N/A

N/A

vpc:AllocateEipSegmentAddress

AllocateEipSegmentAddress

WRITE


SegmentAddress


acs:vpc:{#regionId}:{#accountId}:eip/*


N/A

N/A

vpc:AssociateEipAddress

AssociateEipAddress

Write


ECS:Instance


acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}


Address


acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}


VPC:HaVip


acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}


VPC:NatGateway


acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}



vpc:tag


N/A

vpc:DescribeEipAddresses

DescribeEipAddresses

List


Address


acs:vpc:{#regionId}:{#accountId}:eip/*



vpc:tag


N/A

vpc:DescribeEipGatewayInfo

DescribeEipGatewayInfo

Read


Address


acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}


N/A

N/A

vpc:DescribeEipMonitorData

DescribeEipMonitorData

Read


Address


acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}


N/A

N/A

vpc:DescribeEipSegment

DescribeEipSegment

List


VPC:VirtualBorderRouter


acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/*


N/A

N/A

vpc:DescribeHighDefinitionMonitorLogAttribute

DescribeHighDefinitionMonitorLogAttribute

Read


Address


acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}


N/A

N/A

vpc:ModifyEipAddressAttribute

ModifyEipAddressAttribute

Write


Address


acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}


N/A

N/A

vpc:ReleaseEipAddress

ReleaseEipAddress

Write


Address


acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}



vpc:tag


N/A

vpc:ReleaseEipSegmentAddress

ReleaseEipSegmentAddress

Write


Address


acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}


N/A

N/A

vpc:UnassociateEipAddress

UnassociateEipAddress

Write


ECS:Instance


acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}


Address


acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}


VPC:HaVip


acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}


N/A

N/A

Resource

The following table describes the values that you can use in the Resource element of a policy statement. The values are defined by Elastic IP Address.

The Alibaba Cloud Resource Name (ARN) is the unique identifier of the resource on Alibaba Cloud. Take note of the following items:

  • {#} indicates a variable. {#} must be replaced with an actual value. For example, {#regionId} must be replaced with the actual ID of the region where your resource resides.

  • An asterisk (*) is used as a wildcard. Examples:

    • If you specify {#resourceType}/*, all resources are specified.

    • If {#regionId} is set to *, all regions are specified.

    • If {#accountId} is set to *, all Alibaba Cloud accounts are specified.

Resource type

ARN

Address

acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}

Condition

The following table describes the values that you can use in the Condition element of a policy statement. The values are defined by Elastic IP Address. The following table describes the service-specific condition keys. The common condition keys that are defined by Alibaba Cloud also apply to Elastic IP Address. For more information about the common condition keys, see Policy elements.

The data type determines which condition operators you can use to compare the value in a request with the value in a policy statement. You must use condition operators that are supported by the data type. Otherwise, you cannot compare the value in the request with the value in the policy statement. In this case, the authorization is invalid. For more information about the condition operators that are supported by each data type, see Policy elements.

Condition keys

Description

Type

vpc:tag

A tag key and value pair that are attached to a VPC resource.

String