'Creates an internet gateway for VPC.
:type dry_run: bool
:param dry_run: Set to True if the operation should not actually run.
:rtype: Newly created internet gateway.
:return: `boto.vpc.internetgateway.InternetGateway`'

def create_internet_gateway(self, dry_run=False):

    params = {}
    if dry_run:
        params['DryRun'] = 'true'
    return self.get_object('CreateInternetGateway', params, InternetGateway)
