def METHOD_NAME(
    self, tags: Optional[List[Dict[str, str]]] = None
) -> InternetGateway:
    igw = InternetGateway(self)
    for tag in tags or []:
        igw.add_tag(tag["Key"], tag["Value"])
    self.internet_gateways[igw.id] = igw
    return igw