AWS Identity and Access Management
User Guide

Actions, Resources, and Condition Keys for AWS Direct Connect

AWS Direct Connect (service prefix: directconnect) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions Defined by AWS Direct Connect

You can specify the following actions in the Action element of an IAM policy statement. By using policies, you define the permissions for anyone performing an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions. For details about the columns in the following table, see The Actions Table.

Actions Description Access Level Resource Types (*required) Condition Keys Dependent Actions
AllocateConnectionOnInterconnect Creates a hosted connection on an interconnect. Write
AllocateHostedConnection Creates a new hosted connection between a AWS Direct Connect partner's network and a specific AWS Direct Connect location. Write
AllocatePrivateVirtualInterface Provisions a private virtual interface to be owned by a different customer. Write
AllocatePublicVirtualInterface Provisions a public virtual interface to be owned by a different customer. Write
AssociateConnectionWithLag Associates a connection with a LAG. Write
AssociateHostedConnection Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. Write
AssociateVirtualInterface Associates a virtual interface with a specified link aggregation group (LAG) or connection. Write
ConfirmConnection Confirm the creation of a hosted connection on an interconnect. Read
ConfirmPrivateVirtualInterface Accept ownership of a private virtual interface created by another customer. Read
ConfirmPublicVirtualInterface Accept ownership of a public virtual interface created by another customer Read
CreateBGPPeer Creates a BGP peer on the specified virtual interface. Write
CreateConnection Creates a new connection between the customer network and a specific AWS Direct Connect location. Write
CreateDirectConnectGateway Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual interfaces and virtual private gateways. Write
CreateDirectConnectGatewayAssociation Creates an association between a Direct Connect gateway and a virtual private gateway. Write
CreateInterconnect Creates a new interconnect between a AWS Direct Connect partner's network and a specific AWS Direct Connect location. Write
CreateLag Creates a link aggregation group (LAG) with the specified number of bundled physical connections between the customer network and a specific AWS Direct Connect location. Write
CreatePrivateVirtualInterface Creates a new private virtual interface. Write
CreatePublicVirtualInterface Creates a new public virtual interface. Write
DeleteBGPPeer Deletes the specified BGP peer on the specified virtual interface with the specified customer address and ASN. Write
DeleteConnection Deletes the connection. Write
DeleteDirectConnectGateway Deletes the specified Direct Connect gateway. Write
DeleteDirectConnectGatewayAssociation Deletes the association between the specified Direct Connect gateway and virtual private gateway. Write
DeleteInterconnect Deletes the specified interconnect. Write
DeleteLag Deletes the specified link aggregation group (LAG). Write
DeleteVirtualInterface Deletes a virtual interface. Write
DescribeConnectionLoa Returns the LOA-CFA for a Connection. Read
DescribeConnections Displays all connections in this region. Read
DescribeConnectionsOnInterconnect Return a list of connections that have been provisioned on the given interconnect. Read
DescribeDirectConnectGatewayAssociations Lists the associations between your Direct Connect gateways and virtual private gateways. Read
DescribeDirectConnectGatewayAttachments Lists the attachments between your Direct Connect gateways and virtual interfaces. Read
DescribeDirectConnectGateways Lists all your Direct Connect gateways or only the specified Direct Connect gateway. Read
DescribeHostedConnections Lists the hosted connections that have been provisioned on the specified interconnect or link aggregation group (LAG). Read
DescribeInterconnectLoa Returns the LOA-CFA for an Interconnect. Read
DescribeInterconnects Returns a list of interconnects owned by the AWS account. Read
DescribeLags Describes all your link aggregation groups (LAG) or the specified LAG. Read
DescribeLoa Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG). Read
DescribeLocations Returns the list of AWS Direct Connect locations in the current AWS region. Read
DescribeTags Describes the tags associated with the specified AWS Direct Connect resources. Read
DescribeVirtualGateways Returns a list of virtual private gateways owned by the AWS account. Read
DescribeVirtualInterfaces Displays all virtual interfaces for an AWS account. Read
DisassociateConnectionFromLag Disassociates a connection from a link aggregation group (LAG). Read
TagResource Adds the specified tags to the specified AWS Direct Connect resource. Each resource can have a maximum of 50 tags. Read
UntagResource Removes one or more tags from the specified AWS Direct Connect resource. Read
UpdateLag Updates the attributes of the specified link aggregation group (LAG). Read
UpdateVirtualInterfaceAttributes Updates the specified attributes of the specified virtual private interface. Read

Resources Defined by AWS Direct Connect

AWS Direct Connect has no service-defined resources that can be used as the Resource element of an IAM policy statement.

Condition Keys for AWS Direct Connect

Direct Connect has no service-specific context keys that can be used in the Condition element of policy statements. For the list of the global context keys that are available to all services, see Available Keys for Conditions in the IAM Policy Reference.