AWS Abuse Signal API and interface VPC endpoints (AWS PrivateLink)
You can establish a private connection between your VPC and AWS Abuse Signal API by creating an interface VPC endpoint. Interface endpoints are powered by AWS PrivateLink
Each interface endpoint is represented by one or more Elastic network interfaces in your subnets.
For more information, see Access AWS services through AWS PrivateLink in the Amazon VPC User Guide.
Considerations for AWS Abuse Signal API VPC endpoints
Before you set up an interface VPC endpoint for AWS Abuse Signal API, review the prerequisites in Access an AWS service using an interface VPC endpoint in the Amazon VPC User Guide.
AWS Abuse Signal API supports making calls to all of its API actions from your VPC.
AWS Abuse Signal API supports interface VPC endpoints and VPC endpoint policies in all AWS Regions where AWS Abuse Signal API is available.
Creating an interface VPC endpoint for AWS Abuse Signal API
You can create a VPC endpoint for the AWS Abuse Signal API service using either the Amazon VPC console or the AWS Command Line Interface (AWS CLI). For more information, see Access an AWS service using an interface VPC endpoint in the Amazon VPC User Guide.
Create a VPC endpoint for AWS Abuse Signal API using the following service name:
-
com.amazonaws.
region.abuse
If you enable private DNS for the endpoint, you can make API requests to AWS Abuse Signal API using the default DNS name for the Region. For example, use abuse.us-east-1.amazonaws.com.
Because the hostname is identical to the public endpoint, your client code and request signing do not change when you move to AWS PrivateLink; only DNS resolution differs. The operations, request/response shapes, and authentication are identical on both paths.
For more information, see Access AWS services through AWS PrivateLink in the Amazon VPC User Guide.
Creating a VPC endpoint policy for AWS Abuse Signal API
You can attach an endpoint policy to your VPC endpoint that controls access to AWS Abuse Signal API. The policy specifies the following information:
-
The principal that can perform actions.
-
The actions that can be performed.
-
The resources on which actions can be performed.
For more information, see Control access to VPC endpoints using endpoint policies in the Amazon VPC User Guide.
Example: VPC endpoint policy for AWS Abuse Signal API actions
The following is an example of an endpoint policy for AWS Abuse Signal API. When attached to an endpoint, this policy grants access to the listed AWS Abuse Signal API actions for all principals on all resources.
{ "Statement":[ { "Principal":"*", "Effect":"Allow", "Action":[ "abuse:CreateAbuseReport", "abuse:GetAbuseReportStatus", "abuse:ListAbuseReportStatuses" ], "Resource":"*" } ] }