Search in sources :

Example 1 with AttachInternetGatewayRequest

use of com.amazonaws.services.ec2.model.AttachInternetGatewayRequest in project photon-model by vmware.

the class AWSNetworkClient method attachInternetGateway.

public void attachInternetGateway(String vpcId, String gatewayId) {
    AttachInternetGatewayRequest req = new AttachInternetGatewayRequest().withVpcId(vpcId).withInternetGatewayId(gatewayId);
    this.client.attachInternetGateway(req);
}
Also used : AttachInternetGatewayRequest(com.amazonaws.services.ec2.model.AttachInternetGatewayRequest)

Aggregations

AttachInternetGatewayRequest (com.amazonaws.services.ec2.model.AttachInternetGatewayRequest)1